modify doc workflows
This commit is contained in:
committed by
FilippoOlivo
parent
a5c7e41d01
commit
56bb4ab810
2
.github/workflows/sphinx-build.yml
vendored
2
.github/workflows/sphinx-build.yml
vendored
@@ -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
|
||||||
|
|||||||
13
.github/workflows/testing_doc.yml
vendored
13
.github/workflows/testing_doc.yml
vendored
@@ -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/
|
||||||
Reference in New Issue
Block a user