From da347430890448973e0d18777a014127fe8925ca Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 4 Mar 2017 19:03:24 +0100 Subject: [PATCH] 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 --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 3192ca77d..5a1ffc226 100644 --- a/tox.ini +++ b/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