X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=docs%2Ftox.ini;fp=docs%2Ftox.ini;h=edac8c35fc8963a1a5784c660bb7472fb6b67bb4;hp=0000000000000000000000000000000000000000;hb=f3c4ac7194b11d73b819a516482bb8394a8248c4;hpb=6948fd05228982459ead8609f4bea3097c860fbf diff --git a/docs/tox.ini b/docs/tox.ini new file mode 100644 index 000000000..edac8c35f --- /dev/null +++ b/docs/tox.ini @@ -0,0 +1,22 @@ +[tox] +minversion = 1.6 +envlist = docs, +skipsdist = true + +[testenv:docs] +basepython = python3 +deps = -r{toxinidir}/requirements-docs.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html + echo "Generated docs available in {toxinidir}/_build/html" +whitelist_externals = + echo + git + sh + +[testenv:docs-linkcheck] +basepython = python3 +#deps = -r{toxinidir}/requirements-docs.txt +commands = echo "Link Checking not enforced" +#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck +whitelist_externals = echo