From dd4e893b33d230b288463b731e17444e457fc9b9 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 6 Nov 2018 08:51:02 -0500 Subject: [PATCH] run sphinx in verbose mode and treat warnings as errors Change-Id: I7bc390b893a6db91ed7006f65073887542da0593 Signed-off-by: Doug Hellmann --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index fe3485d5..53a8bd74 100644 --- a/tox.ini +++ b/tox.ini @@ -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