X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=fb0f734645a363598012367fc5a1f9c3756c95d7;hb=cc09ff06fb78a52747ec8c6752ac2c9308553b8a;hp=f3a4d0ea383fe896f0bf51c76bd0ef477058c97a;hpb=531b33affef1b9f51566c4d3a1e5b5e5a3623093;p=doc.git diff --git a/tox.ini b/tox.ini index f3a4d0ea3..fb0f73464 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,15 @@ whitelist_externals = git sh +[testenv:docs-templates] +basepython = python3 +deps = -r{toxinidir}/etc/requirements.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees -c {toxinidir}/docs ./docs/guides/onap-developer/how-to-use-docs/templates {toxinidir}/docs/_build/html/templates + echo "Generated docs available in {toxinidir}/docs/_build/html/templates" +whitelist_externals = + echo + [testenv:local] basepython = python3 deps = -r{toxinidir}/etc/requirements.txt