Do not fail on warnings for docs-linkcheck 89/91189/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:53:38 +0000 (10:53 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:53:38 +0000 (10:53 -0400)
This is a workaround due to sphinx-tabs being incompatible with the
Sphinx linkchecker which throws a warning. We mainly use linkchecker
to catch broken links so we don't really need to fail on warnings as
the main "docs" builder will still fail for warning level issues so
this is a reasonable workaround.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I489719282c71a11e2ffdc394f79307303a62ef73

tox.ini

diff --git a/tox.ini b/tox.ini
index 4f9c226fd158276651b4c84c74cb984c7fec61b3..ed92a278d66daa8e28eee54894ab9cb873626ef8 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,5 +14,5 @@ commands =
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -rdocs/requirements.txt
-commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck