X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=637759701f21e5142fb5d877261722bbfd0d6159;hb=1ffcfcd07a15fe2555121e91eb3af92134aeb56a;hp=8ea4ee5b132235515b91bf8559d371dd9d33fefc;hpb=622c140e4c933d6d377e667162dfb04f6e22a827;p=docs.git diff --git a/tox.ini b/tox.ini index 8ea4ee5b1..637759701 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,26 @@ [tox] minversion = 1.6 -envlist = docs,docs-linkcheck +envlist = coala,docs skipsdist = true +[testenv:coala] +basepython = python3 +deps = + coala + coala-bears + nodeenv +commands = + nodeenv -p + npm install --global remark-cli remark-lint + coala --non-interactive + [testenv:docs] -deps = sphinx -commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html +deps = -rrequirements.txt +commands = + sphinx-build -j 4 -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