aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/index.rxt2
-rw-r--r--tox.ini17
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/
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..69aa189
--- /dev/null
+++ b/tox.ini
@@ -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