summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 12 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index e0af9cc..ad5e0a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,20 +17,23 @@
[tox]
minversion = 1.6
-envlist = docs,docs-linkcheck
+envlist = docs,
skipsdist = true
[testenv:docs]
+basepython = python3
deps = -r{toxinidir}/etc/requirements.txt
commands =
- sphinx-build -c . -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
- echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals = echo
-
-[testenv:needs]
-deps = -r{toxinidir}/etc/requirements.txt
-commands = sphinx-build -c . -b needs -n -d {envtmpdir}/doctrees ./docs/ ./docs/data/
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+ echo "Generated docs available in {toxinidir}/_build/html"
+whitelist_externals =
+ echo
+ git
+ sh
[testenv:docs-linkcheck]
+basepython = python3
deps = -r{toxinidir}/etc/requirements.txt
-commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+commands = echo "Link Checking not enforced"
+#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
+whitelist_externals = echo \ No newline at end of file