diff options
author | Brett Holman <brett.holman@canonical.com> | 2022-06-03 13:07:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 13:07:52 -0600 |
commit | 8dca3ad01827e141e13d8d1169e4d31a4d164728 (patch) | |
tree | 3977f57208138c50d861fd90db0cb7d23efd772d /tox.ini | |
parent | 2635d5b76601636a448bcd7f55cba1714b97d841 (diff) | |
download | cloud-init-git-8dca3ad01827e141e13d8d1169e4d31a4d164728.tar.gz |
tox: add link checker environment, fix links (#1480)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -149,6 +149,19 @@ commands = {envpython} -m sphinx {posargs:-W doc/rtd doc/rtd_html} doc8 doc/rtd +# linkcheck shows false positives and has noisy output. +# Despite these limitations, it is better than a manual search of the docs. +# suggested workflow is: +# +# tox -e linkcheck | grep broken # takes some time +# +# followed by manual verification of the links reported +[testenv:linkcheck] +deps = + -r{toxinidir}/doc-requirements.txt +commands = + {envpython} -m sphinx {posargs:-b linkcheck doc/rtd doc/rtd_html} + [testenv:tip-flake8] commands = {envpython} -m flake8 {posargs:cloudinit/ tests/ tools/ conftest.py setup.py} deps = flake8 |