Do not fail on warnings for docs-linkcheck 85/91185/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:11:36 +0000 (10:11 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:11:36 +0000 (10:11 -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: I545f7cfaea27f907c13b5c21af26f1ee4b7d1b62

tox.ini

diff --git a/tox.ini b/tox.ini
index db1ed9604201517a1422b21d3828de6ffa83cecd..659e6913bfbea6f4690c94453ca03da7b1bdbd46 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -71,7 +71,7 @@ commands =
 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 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
 
 [testenv:autopep8]
 basepython = python3