Update conf.py intersphinx controller version
[docs.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = pre-commit,docs,docs-linkcheck
4 skipsdist = true
5
6 [testenv:docs]
7 basepython = python3
8 deps = -rdocs/requirements.txt
9 commands =
10     sphinx-build -j auto -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
11
12 [testenv:docs-linkcheck]
13 basepython = python3
14 deps = -rdocs/requirements.txt
15 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
16
17 [testenv:pre-commit]
18 basepython = python3
19 deps = pre-commit
20 commands =
21     pre-commit run --all-files --show-diff-on-failure
22     pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
23
24 [testenv:spelling]
25 basepython = python3
26 deps =
27     -rdocs/requirements.txt
28     sphinxcontrib-spelling
29     PyEnchant
30 commands = sphinx-build -b spelling -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spelling
31