From a07e56bb4ff8d11c2f1a1511fe21539d46bdd7ce Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Mon, 20 Sep 2021 11:27:09 +0200 Subject: [PATCH] CI: treat warnings as error in docs tox job 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 Change-Id: I5101eceb98aa2bb0ef8b922d871b8e68af0893ef --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0bce156ffe..51b2a72fa1 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ skipsdist = true [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 = -- 2.36.6