Skip to content

Commit

Permalink
Update docs job to avoid setup.py entrypoint
Browse files Browse the repository at this point in the history
The docs builds were previously configured to use PBR's sphinx
entrypoint. However, in newer versions of PBR that no longer exists and
the docs builds are failing. This commit updates the tox job to just
directly call sphinx-build to fix the docs builds locally and in CI.
  • Loading branch information
mtreinish committed Sep 7, 2023
1 parent d24afca commit a1be80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extras =
sql
commands =
doc8 -e .rst doc/source CONTRIBUTING.rst README.rst
python setup.py build_sphinx
sphinx-build -W -T --keep-going -b html doc/source doc/build/html

[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
Expand Down

0 comments on commit a1be80d

Please sign in to comment.