Do not fail on warnings for docs-linkcheck 55/91455/1
authorThanh Ha <zxiiro@gmail.com>
Mon, 20 Jul 2020 16:52:55 +0000 (12:52 -0400)
committerThanh Ha <zxiiro@gmail.com>
Mon, 20 Jul 2020 16:52:55 +0000 (12:52 -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: I58619d4984bd0b58b145cb4b362cef5783e62441

tox.ini

diff --git a/tox.ini b/tox.ini
index 5409ae86931ee8037b4f9f5175290b25f3977e59..ced2d82c49c8a3b7050f1978d80697e2fe15fd88 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ commands =
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -rdocs/requirements.txt
-commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+commands = sphinx-build -j auto -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:pre-commit]
 basepython = python3