modify doc workflows

This commit is contained in:
Dario Coscia
2025-03-17 16:08:38 +01:00
committed by FilippoOlivo
parent a5c7e41d01
commit 56bb4ab810
2 changed files with 8 additions and 7 deletions

View File

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

View File

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