Merge "Add doc8 check to docs builds"
This commit is contained in:
commit
dcec2f6f01
2
tox.ini
2
tox.ini
@ -134,8 +134,10 @@ commands = {posargs}
|
|||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
allowlist_externals = rm
|
allowlist_externals = rm
|
||||||
deps =
|
deps =
|
||||||
|
doc8
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
doc8
|
||||||
rm -rf doc/source/contributor/api doc/build/html doc/build/doctrees
|
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
|
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
|
# Test the redirects. This must run after the main docs build
|
||||||
|
Loading…
Reference in New Issue
Block a user