Fail Sphinx build even on warnings 83/10183/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 20 Apr 2018 18:46:06 +0000 (14:46 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 23 Apr 2018 19:06:06 +0000 (15:06 -0400)
Change-Id: I5a6d6827870ff680cfc54c7aea171f1ce544a753
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
tox.ini

diff --git a/tox.ini b/tox.ini
index 00e1da8..89f4b04 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -25,6 +25,6 @@ commands =
 [testenv:docs]
 deps = -rrequirements.txt
 commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
     echo "Generated docs available in {toxinidir}/docs/_build/html"
 whitelist_externals = echo