[DOC] Enforce warnings at docs buildtime 56/117356/2
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 12:07:40 +0000 (13:07 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:58:38 +0000 (15:58 +0100)
Issue-ID: DOC-692
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I36294591e42737592ffecdd5ec8f7d231d3c50d1

tox.ini

diff --git a/tox.ini b/tox.ini
index d4352d3..c865d2e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ skipsdist = true
 basepython = python3
 deps = -r{toxinidir}/etc/requirements.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