Change-Id: I0e030e1fb48adef8973528235ab3f311e56d0980
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
+
+
+linkcheck_ignore = [
+ # Ignore jenkins because it's often slow to respond.
+ 'https://jenkins.opendaylight.org/releng',
+ 'https://jenkins.opendaylight.org/sandbox',
+ 'http://\$CONTROL_HOST:8181/dlux/index.html',
+ # The '#' in the path makes sphinx think it's an anchor
+ 'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
+]
[tox]
minversion = 1.6
-envlist = docs
+envlist = docs,docs-linkcheck
skipsdist = true
[testenv:docs]
deps = sphinx
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
+[testenv:docs-linkcheck]
+deps = sphinx
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck