summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2018-09-25 13:54:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-25 13:54:12 +0000
commit4aba838a07f5cd7dbd6d606c34f688e647a5d890 (patch)
tree3b5d82ec1aeac5416a323292c2e5d2731f2c187a /tox.ini
parent2dbe682c470d72d2f96099b85d09c1c31b5939a5 (diff)
parentf2548eacf2ae70f90bf486714fabf09a11d5d15d (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