The previous commit fixed the last remaining warning in the docs job.
Adding in this job the option -W to sphinx will make it treat warnings
as error and will ensure there won't be anymore docs warnings that
pollutes jenkins logs in the future.
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I5101eceb98aa2bb0ef8b922d871b8e68af0893ef
[testenv:docs]
deps = -rdocs/requirements.txt
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+commands = sphinx-build -W -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
[testenv:jenkins-jobs]
deps =