X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=90be6828eabbb8dbc49316526ea4c078cc69ff57;hb=51ecdd8ab31a733fcc9db34b14a9dbc3e9704a05;hp=8ea4ee5b132235515b91bf8559d371dd9d33fefc;hpb=c2e6a56208fa6857b7fb8f5146a8431b3c09e73f;p=docs.git diff --git a/tox.ini b/tox.ini index 8ea4ee5b1..90be6828e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,12 @@ envlist = docs,docs-linkcheck skipsdist = true [testenv:docs] -deps = sphinx -commands = sphinx-build -b html -n -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 = sphinx -commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck +deps = -rrequirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck