aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoropensource-tnbt <sridhar.rao@spirent.com>2020-12-07 09:54:27 +0530
committeropensource-tnbt <sridhar.rao@spirent.com>2020-12-07 09:56:17 +0530
commitf38765a83c1ba03b5619c1c66ed7bf1a2b6b00be (patch)
tree7caade464ddf1893fb538f648915936b58e1ed2e
parent0fd1dc39ee6f6bb7f2c35f84c3a2a39d9e63805f (diff)
LINKS: Fix Links to cirv-hdv and sdv.opnfv-10.0.0stable/jerma
Add tox.ini file too Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I758d29d29ccee399ca5b059ab5f285dcb93d4be9
-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