Skip to content

Commit ec4fff4

Browse files
committed
docs: restructure sphinx documentation
1 parent cefa1f1 commit ec4fff4

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,22 @@ jobs:
2929
url: ${{ steps.deployment.outputs.page_url }}
3030
runs-on: ubuntu-latest
3131
steps:
32-
- name: Checkout
33-
uses: actions/checkout@v4
34-
- name: Install dependencies
35-
run: |
36-
pip install sphinx furo myst-parser
32+
- uses: actions/checkout@v6
33+
- uses: actions/setup-python@v6
34+
with:
35+
python-version: "3.14"
36+
- run: python -m pip install --upgrade pip
37+
- run: python -m pip install sphinx furo myst-parser
3738
- name: Sphinx APIDoc
3839
run: |
39-
sphinx-apidoc -f -o docs/source/ .
40+
sphinx-apidoc --force -o docs/source/ .
4041
- name: Sphinx build
4142
run: |
42-
sphinx-build -b html docs/source/ docs/build/html
43+
sphinx-build --builder html docs/source/ docs/build/html
4344
- name: Setup Pages
4445
uses: actions/configure-pages@v5
4546
- name: Upload artifact
46-
uses: actions/upload-pages-artifact@v3
47+
uses: actions/upload-pages-artifact@v4
4748
with:
4849
# Upload entire repository
4950
path: './docs/build/html'

0 commit comments

Comments
 (0)