diff options
-rw-r--r-- | docs/index.rxt | 2 | ||||
-rw-r--r-- | tox.ini | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/docs/index.rxt b/docs/index.rxt index 0f96854..857793f 100644 --- a/docs/index.rxt +++ b/docs/index.rxt @@ -14,4 +14,4 @@ Please refer to the documentation of the individual tools. .. _CIRV-HDV: https://opnfv-cirv-hdv.readthedocs.io/en/latest/ -.. _CIRV-SDV: https://opnfv-cirv-hdv.readthedocs.io/en/latest/ +.. _CIRV-SDV: https://opnfv-cirv-sdv.readthedocs.io/en/latest/ @@ -0,0 +1,17 @@ +[tox] +minversion = 1.6 +envlist = + docs, + docs-linkcheck +skipsdist = true + +[testenv:docs] +deps = -rdocs/requirements.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:docs-linkcheck] +deps = -rdocs/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |