api-ref: Treat warnings as errors
With current Sphinx and os-api-ref, we can enable warnings and treat them as errors in tox.ini again. Change-Id: I9ac0301e16124d2759fb4f90f6509548f5de9780
This commit is contained in:
parent
cbb700d54e
commit
da34743089
5
tox.ini
5
tox.ini
@ -75,10 +75,7 @@ envdir = {toxworkdir}/venv
|
||||
commands =
|
||||
oslo-config-generator --config-file etc/zun/zun-config-generator.conf
|
||||
|
||||
# we do not used -W here because we are doing some slightly tricky
|
||||
# things to build a single page document, and as such, we are ok
|
||||
# ignoring the duplicate stanzas warning.
|
||||
[testenv:api-ref]
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
Loading…
Reference in New Issue
Block a user