From: Cédric Ollivier Date: Mon, 22 May 2017 01:37:13 +0000 (+0200) Subject: Turn Sphinx warnings into errors X-Git-Tag: 0.2~609^2~2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=97f0e4b6e4fa8e2a1c057b72ecc9b86e44d7fa3c;p=functest-xtesting.git Turn Sphinx warnings into errors Change-Id: Iefc223a9fa6dbc4e9476aca84b3df4304058862b Signed-off-by: Cédric Ollivier --- diff --git a/docs/api/_static/.gitkeep b/docs/api/_static/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/api/_templates/.gitkeep b/docs/api/_templates/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/tox.ini b/tox.ini index 4cd53b03..6a2edbff 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ commands = nosetests --with-xunit \ [testenv:docs] basepython = python2.7 -commands = sphinx-build -b html docs/api/ docs/api/_build +commands = sphinx-build -W -b html docs/api/ docs/api/_build [testenv:pep8] basepython = python2.7