Merge "Build Sphinx using 4 threads"
[docs.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,docs,docs-linkcheck
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala
10     coala-bears
11     nodeenv
12 commands =
13     nodeenv -p
14     npm install --global remark-cli remark-lint
15     coala --non-interactive
16
17 [testenv:docs]
18 deps = -rrequirements.txt
19 commands =
20     sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
21     echo "Generated docs available in {toxinidir}/docs/_build/html"
22 whitelist_externals = echo
23
24 [testenv:docs-linkcheck]
25 deps = -rrequirements.txt
26 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck