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 8d4a48f..df9a2d9 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
 

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.