Skip to content

Commit

Permalink
ci: ensure dev version has the version switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Nov 20, 2024
1 parent 3899f05 commit 6e0a9a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
mkdir docs/_build/doxyxml
export SANSMIC_SPHINX_VERSION=dev
cp -f sansmic-ci/docs/_static/* docs/_static/
cp html/_static/switcher.json docs/_static/
cp -f sansmic-ci/docs/conf.py docs/conf.py
sphinx-build -b html -d doctrees/latest docs/ html/latest
for TAG in `git tag --list "v*.*.*" --sort=-version:refname`
do
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
# -- Options for HTML output -------------------------------------------------
html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]
html_title = "Sansmic"
html_title = "Sansmic" + " " + version
html_js_files = [
"pypi-icon.js",
]
Expand Down

0 comments on commit 6e0a9a7

Please sign in to comment.