Skip to content

Commit

Permalink
ci: fix version-switcher for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart authored Nov 18, 2024
1 parent 4954ded commit a20a967
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ jobs:
for TAG in `git tag --list --sort=-version:refname`
do
python -m pip uninstall -y sansmic
rm -rf docs/_build/doxyxml docs/apidocs/* docs/_static/switcher.json
rm -rf docs/_build/doxyxml docs/apidocs/*
export SANSMIC_SPHINX_VERSION=$TAG
export VERSION_INFO=$TAG
mkdir docs/_build/doxyxml
git checkout $TAG
python build_docs.py
git checkout -f $TAG
python -m pip install --no-deps -e .
sphinx-build -b html docs/ out/releases/$TAG
done
Expand Down

0 comments on commit a20a967

Please sign in to comment.