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 <kdearaujo@vmware.com>
This commit is contained in:
Kairo de Araujo 2021-12-13 15:38:32 +01:00
parent febe6c3dc3
commit d7ab1043d9

View file

@ -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