Do not fail on warnings for docs-linkcheck 00/91200/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 15:11:49 +0000 (11:11 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 10 Jul 2020 15:12:18 +0000 (11:12 -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: I0b1ac281fede70b88139d7a20e0797018a92a611

tox.ini

diff --git a/tox.ini b/tox.ini
index c62d42d939119492064bb533d0e028728a8e464e..946192c5017358129d8c7067371cdba2af6d3e45 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,7 @@ whitelist_externals = echo
 
 [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
 
 [testenv:pep8]
 deps =