X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=01622845863b71fedd0b17f68ed8dd5e12652dbc;hb=496777fc241939e9d9f1c592a94e24df621c0f2b;hp=313f1eca27f3e8c537194b7d99334158d3acfbc9;hpb=d9a19da691a0cc258d26a2967983396b1c034b65;p=yardstick.git diff --git a/tox.ini b/tox.ini index 313f1eca2..016228458 100644 --- a/tox.ini +++ b/tox.ini @@ -44,6 +44,17 @@ commands = basepython = python3 commands = {[testenv:functional]commands} +[testenv:docs] +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 = -rdocs/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck + [testenv:os-requirements] commands = python {toxinidir}/tools/os-requirements-check.py {envdir}