From 72477949feffd5f19ea8135277dd465772dd9268 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 16 Aug 2014 12:08:45 +0200 Subject: [PATCH] Add new checklinks tox environment This is a new non-voting job that will be used for changes of the manual. It checks that URLs in the manual are reachable and valid. Change-Id: I0f34d2fa2a0334276623dfa708f4196a16e20dc1 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 837dbe3742..3ea05d2f56 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pep8,checkniceness,checksyntax,checkdeletions,checkbuild +envlist = py26,py27,pep8,checkniceness,checksyntax,checkdeletions,checkbuild,checklinks minversion = 1.6 skipsdist = True @@ -45,6 +45,9 @@ builtins = _ exclude=.venv,.tox,dist,doc,openstack,*egg,rsdns,tools,etc,build,*.po,*.pot filename=*.py,trove-* +[testenv:checklinks] +commands = openstack-doc-test --check-links {posargs} + [testenv:checkniceness] commands = openstack-doc-test --check-niceness {posargs}