summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use-docs/files/tox.ini
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-08-30 18:51:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-30 18:51:37 +0000
commitc1090621dbe5d54b8d52cfe380213bc152b3f7c5 (patch)
treebfa8bc075091d877df1a3f129862d1ce34049229 /docs/how-to-use-docs/files/tox.ini
parent8165c1bdfef15ce62dcfe54ecd4698bb1725c41d (diff)
parent8f28a9846b2ec7470004f3203a1d3b380855726e (diff)
Merge "Submodule to RTD transition documentation"
Diffstat (limited to 'docs/how-to-use-docs/files/tox.ini')
-rw-r--r--docs/how-to-use-docs/files/tox.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/how-to-use-docs/files/tox.ini b/docs/how-to-use-docs/files/tox.ini
new file mode 100644
index 000000000..69aa18937
--- /dev/null
+++ b/docs/how-to-use-docs/files/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