X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=smo%2Fo1.git;a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=72742cff9226210973133edaf2d3090db71b1183;hp=0000000000000000000000000000000000000000;hb=cf9b31fbf9918ba313e1d1a446a0798832e274c6;hpb=b9f74e2982e641beb8c95db76ef0e8c0c241817a diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..72742cf --- /dev/null +++ b/tox.ini @@ -0,0 +1,30 @@ +# documentation only +[tox] +minversion = 2.0 +envlist = + docs, + docs-linkcheck, +skipsdist = true + +[testenv:docs] +basepython = python3 +deps = + sphinx + sphinx-rtd-theme + sphinxcontrib-httpdomain + recommonmark + lfdocs-conf + +commands = + sphinx-build -W -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] +basepython = python3 +deps = sphinx + sphinx-rtd-theme + sphinxcontrib-httpdomain + recommonmark + lfdocs-conf +commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck