From: Thanh Ha Date: Fri, 10 Jul 2020 14:11:36 +0000 (-0400) Subject: Do not fail on warnings for docs-linkcheck X-Git-Tag: 2.0.0~46 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=a2b82af2f372a082d1d76ea261b2af54c86a2200;hp=75f6901d3e000865db1bd9f89a6a65cf61c23aa0;p=transportpce.git Do not fail on warnings for docs-linkcheck 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 Change-Id: I545f7cfaea27f907c13b5c21af26f1ee4b7d1b62 --- diff --git a/tox.ini b/tox.ini index db1ed9604..659e6913b 100644 --- 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