summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorrr929y <rr929y@att.com>2017-07-24 16:58:56 -0500
committerrr929y <rr929y@att.com>2017-07-25 08:28:23 -0500
commit0ac8f52204d571ccd5a98af0e211bd138ceac846 (patch)
treefb629bfe252cb73939e8df36992e89f2a33d6662 /tox.ini
parent29e4e988c22205057846596f334b78bde8270bc9 (diff)
RST Seed Documentation
Inital example of converted documentation to be used in the document build tool chain Change-Id: I7b03499d3562857569e1db132f797846cc500634 Issue-ID: VNFRQTS-15 Signed-off-by: rr929y <rr929y@att.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..b3ee8fc
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,15 @@
+[tox]
+minversion = 1.6
+envlist = docs,docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+deps = -r{toxinidir}/etc/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 = -r{toxinidir}/etc/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck