File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,10 +32,13 @@ jobs:
3232 run : |
3333 uv pip install ."[docs]"
3434
35- - name : Build versioned docs with sphinx-multiversion
35+ - name : Build versioned docs with sphinx
3636 run : |
37- uv run sphinx-multiversion docs/ docs/_build/html
38-
37+ uv run python -m sphinx -b html docs/ docs/_build/html
38+ git reset --hard
39+ git fetch --prune --unshallow
40+ git checkout v0.3.10
41+ uv run python -m sphinx -b html docs/ docs/_build/html/v0.3.10
3942
4043 - name : Upload artifact
4144 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1616extensions = [
1717 "sphinx.ext.autosummary" ,
1818 "sphinx.ext.autodoc" ,
19- "sphinx_multiversion" ,
2019]
2120
2221templates_path = ["_templates" ]
2827
2928html_theme = "sphinx_rtd_theme"
3029html_static_path = ["_static" ]
31-
32- # Ensure the version selector sidebar is always included
33- html_sidebars = {
34- "**" : [
35- "versioning.html" , # Provided by sphinx-multiversion
36- "globaltoc.html" ,
37- "relations.html" ,
38- "sourcelink.html" ,
39- "searchbox.html" ,
40- ]
41- }
Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ requires-python = ">=3.10"
2727[project .optional-dependencies ]
2828docs = [
2929 " sphinx" ,
30- " sphinx_rtd_theme" ,
31- " sphinx-multiversion"
30+ " sphinx_rtd_theme"
3231]
3332
3433[optional-dependencies ]
You can’t perform that action at this time.
0 commit comments