Do not fail on warnings for docs-linkcheck 92/91192/2
authorThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:57:46 +0000 (10:57 -0400)
committerRobert Varga <nite@hq.sk>
Mon, 20 Jul 2020 09:05:34 +0000 (09:05 +0000)
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: If3e7cea79528ed31fadcea7c7a4c4e13315d1fcd

tox.ini

diff --git a/tox.ini b/tox.ini
index 8d4a48fd5695e7b5b275a60975d277387ab10e15..df9a2d9b65e7e43c114424aea57b632010fa536c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,5 +12,5 @@ commands =
 
 [testenv:docs-linkcheck]
 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