X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=90be6828eabbb8dbc49316526ea4c078cc69ff57;hb=ddd41c391fc21df2dd166683f81f82cca28f19b8;hp=ee12e8ea750cc4a09155fb84d7ede57cc393d276;hpb=0e2382d68b9836321bf2f64daeb02e7ff7765d1b;p=docs.git diff --git a/tox.ini b/tox.ini index ee12e8ea7..90be6828e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,15 @@ [tox] minversion = 1.6 -envlist = docs +envlist = docs,docs-linkcheck skipsdist = true [testenv:docs] -deps = sphinx -commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html +deps = -rrequirements.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