Do not fail on warnings for docs-linkcheck 79/91379/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 14:55:12 +0000 (10:55 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 17 Jul 2020 15:01:49 +0000 (11:01 -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: Ia3b8425133ffb83f6adddd9e584deffb2b887222

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