Merge "Add doc8 check to docs builds"

This commit is contained in:
Zuul 2022-11-09 19:10:27 +00:00 committed by Gerrit Code Review
commit dcec2f6f01
1 changed files with 2 additions and 0 deletions

View File

@ -134,8 +134,10 @@ commands = {posargs}
[testenv:docs]
allowlist_externals = rm
deps =
doc8
-r{toxinidir}/doc/requirements.txt
commands =
doc8
rm -rf doc/source/contributor/api doc/build/html doc/build/doctrees
sphinx-build -W -j auto -b html -d doc/build/doctrees doc/source doc/build/html
# Test the redirects. This must run after the main docs build