From 267e0ec1c76ae379fa37de48da3a05917a80353d Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Tue, 15 Dec 2015 18:32:12 +0300 Subject: [PATCH] Treat build warnings as errors Bad formatting is reported as warnings, but it leads to broken documents generation that can be observed only manually. With this patch all warning are treated as errors. Change-Id: I46479b028baf0899cab207653e7c415030a0d0b0 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 8f53699..d7fcf86 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,6 @@ commands = {posargs} [testenv:docs] commands = - sphinx-build -b html doc/source/ doc/build/html - sphinx-build -b latex doc/source/ doc/build/latex - sphinx-build -b pdf doc/source/ doc/build/pdf + sphinx-build -b html -W doc/source/ doc/build/html + sphinx-build -b latex -W doc/source/ doc/build/latex + sphinx-build -b pdf -W doc/source/ doc/build/pdf