run sphinx in verbose mode and treat warnings as errors

Change-Id: I7bc390b893a6db91ed7006f65073887542da0593
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-11-06 08:51:02 -05:00
parent 63f41dd8b2
commit dd4e893b33

View File

@ -27,9 +27,7 @@ basepython = python2
commands = {posargs}
[testenv:docs]
# NOTE: -W is not added since ocata/ptl.rst throws a warning about duplicate
# IDs.
commands = sphinx-build -b html -d doc/build/doctrees doc/source doc/build/html
commands = sphinx-build -v -W -b html -d doc/build/doctrees doc/source doc/build/html
[testenv:ci-checks]
commands = ci-check-all-candidate-files