X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=01622845863b71fedd0b17f68ed8dd5e12652dbc;hb=60e5897ff933dca95362da14c7fdc3e83c5fe02d;hp=313f1eca27f3e8c537194b7d99334158d3acfbc9;hpb=7d3d2250ee6bb2b66bf8c5beda20c737abb57484;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}