[DOC] Reactivate docs-linkcheck profile 64/117364/3
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 13:15:40 +0000 (14:15 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:58:38 +0000 (15:58 +0100)
so that it can be used to identify broken links.
Since there are still issues with some links, force tox results
to success.

Issue-ID: DOC-692
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Iec1a5d913ad4fe6823476be545cb833084f146e5

tox.ini

diff --git a/tox.ini b/tox.ini
index c865d2e..3c93b29 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,6 @@
 [tox]
 minversion = 1.6
-envlist = docs,
-#         docs-linkcheck,
-
+envlist = docs,docs-linkcheck
 skipsdist = true
 
 [testenv:docs]
@@ -30,15 +28,12 @@ whitelist_externals =
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -r{toxinidir}/etc/requirements.txt
-commands = echo "Link Checking not enforced"
-#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
-whitelist_externals =
-    echo
+commands = - sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:spellcheck]
 basepython = python3
 deps =
     -r{toxinidir}/etc/requirements.txt
     sphinxcontrib-spelling
-commands = 
+commands =
     sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -Dspelling_word_list_filename=validwords.txt -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spellcheck