X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=tox.ini;h=41eb7b6980f809f4a8c23b319e4b52fd89af045c;hb=410c98d801fccf6fb097603dc39b31f47165660c;hp=d5b6baece204f86abc4a91f765564acea064fe46;hpb=f48fc39db434302488d0197d916cbbe0a7f61768;p=releng%2Fglobal-jjb.git diff --git a/tox.ini b/tox.ini index d5b6baec..41eb7b69 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,17 @@ commands = python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger coala --non-interactive +[testenv:docs] +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:ensure-documented] +commands = + ./ensure-documented.sh + [testenv:jjb] deps = jenkins-job-builder