From d7ab1043d9b1410b058d5f35ec56fa78091c44df Mon Sep 17 00:00:00 2001 From: Kairo de Araujo Date: Mon, 13 Dec 2021 15:38:32 +0100 Subject: [PATCH] turn doc build warnings into errors This commit adds to the docs tox session the flag ``-W``, which turns the warnings into errors. The CI will fail once it gets errors. Signed-off-by: Kairo de Araujo --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index be17f3d3..e0f3df17 100644 --- a/tox.ini +++ b/tox.ini @@ -59,4 +59,4 @@ deps = changedir = {toxinidir} commands = - sphinx-build -b html docs docs/build/html + sphinx-build -b html docs docs/build/html -W