From 050e97bed4d499068b782d0176a5c446b4cb40ec Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 20 Apr 2018 14:46:06 -0400 Subject: [PATCH] Fail Sphinx build even on warnings Change-Id: I5a6d6827870ff680cfc54c7aea171f1ce544a753 Signed-off-by: Thanh Ha --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 00e1da8..89f4b04 100644 --- 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 -- 2.16.6