summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorBertrand Souville <souville@docomolab-euro.com>2018-09-06 17:00:13 +0200
committerBertrand Souville <souville@docomolab-euro.com>2018-09-06 17:00:13 +0200
commit2b4a1f6c89a55c4003ecf6d7b9d58c801defad44 (patch)
tree10719e08c6d827549a6933f36db6c2e36fac99ac /tox.ini
parent7c28b66a376d8a441c40c2926b218497d63516a3 (diff)
Switch promise from submodules to intersphinx
Change-Id: I8feb0ba713e26fb112b32032703a7b1aeb75fc88 Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
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