X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=97276f09d3c20b7b75a2a636c4dc8c9ad4da6c85;hb=2986a37a1a55ecf852cecb7a56f9a7bd6f2ad3dd;hp=e3908be0205621e7492ca970e47ff86e2f4503c1;hpb=5e97d175070a1a03ee2b5e1c0e3b153cbd5ec39f;p=genius.git diff --git a/tox.ini b/tox.ini index e3908be02..97276f09d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,15 @@ [tox] minversion = 1.6.0 -envlist = docs +envlist = docs,docs-linkcheck skipsdist = true [testenv:docs] -deps = sphinx -commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html +deps = -rdocs/requirements.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + echo "Generated docs available in {toxinidir}/docs/_build/html" +whitelist_externals = echo + +[testenv:docs-linkcheck] +deps = -rrequirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck