diff options
author | 2021-02-02 14:15:40 +0100 | |
---|---|---|
committer | 2021-02-15 14:51:14 +0100 | |
commit | ec1fb9229d6a505112677be97a8ea0c04cb7af16 (patch) | |
tree | 217a0bdcaae0fd31f0c71c46e2a78fcdecd93416 | |
parent | 7a1bf9d69ed2b4a59100d6f3235c4b520a4785e7 (diff) |
[DOC] Reactivate docs-linkcheck profile
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
(cherry picked from commit 723363b3fed2e56d1229c4ea794e84d5f7c4f11c)
-rw-r--r-- | tox.ini | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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 |