summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorNikos Karandreas <nick@intracom-telecom.com>2018-10-04 10:02:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-04 10:02:01 +0000
commit7b1b9e2ff57ceb2a75b3d60b95262c12e1823586 (patch)
tree6b20e7aa8d3c03b522171783b3a336a2dba24877 /tox.ini
parent4d9843200ef1dde2442667cd077afb24f09087ba (diff)
parent72c03e11197ad3eb9a532d9605bd64a6f9d82050 (diff)
Merge "Local Documentation Builds"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 17 insertions, 0 deletions
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