Turn sphinx-build's warnings into errors

This commit is contained in:
Sajith Sasidharan 2021-04-04 08:44:55 -04:00
parent 351146e91f
commit 9a793a9320
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
`tox -e docs` will treat warnings about docs as errors.

View File

@ -234,7 +234,7 @@ deps =
# normal install is not needed for docs, and slows things down
skip_install = True
commands =
sphinx-build -b html -d {toxinidir}/docs/_build/doctrees {toxinidir}/docs {toxinidir}/docs/_build/html
sphinx-build -W -b html -d {toxinidir}/docs/_build/doctrees {toxinidir}/docs {toxinidir}/docs/_build/html
[testenv:pyinstaller]
# We override this to pass --no-use-pep517 because pyinstaller (3.4, at least)