Add tox env for checking links in docs

Change-Id: I99c924c7cdec488475f32099193cba53ed6afb4c
This commit is contained in:
Darragh Bailey 2016-11-08 12:13:32 +00:00
parent abb34a9a61
commit d45998bf05
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ commands =
python setup.py build_manpage
python setup.py build_sphinx {posargs}
[testenv:docs-linkcheck]
# If you are behind a proxy, for this test to work you will need to set
# TOX_TESTENV_PASSENV="http_proxy https_proxy no_proxy ..." to pass
# through the proxy environment settings to be able to validate any urls.
commands = python setup.py build_sphinx -b linkcheck
[testenv:venv]
commands = {posargs}