modify doc workflows

This commit is contained in:
Dario Coscia
2025-03-17 16:08:38 +01:00
committed by Nicola Demo
parent 23705e6099
commit aab3a4e367
2 changed files with 8 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Create the new documentation
uses: ammaraskar/sphinx-action@7.4.7
with:
pre-build-command: "python3 -m pip install .[docs]"
pre-build-command: "python3 -m pip install .[doc]"
docs-folder: "docs/"
- name: Deploy

View File

@@ -14,9 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Checkout Doc
uses: ammaraskar/sphinx-action@7.4.7
with:
pre-build-command: "python3 -m pip install .[doc]"
build-command: "make html SPHINXOPTS='-W'"
docs-folder: "docs/"
- name: Install Python dependencies
run: python3 -m pip install .[doc]
- name: Build Documentation
run: |
make html SPHINXOPTS+='-W'
working-directory: docs/