-
Notifications
You must be signed in to change notification settings - Fork 19
/
tox.ini
30 lines (25 loc) · 679 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
minversion = 1.6
envlist =
docs
docs-linkcheck
docs-all
docs-dev
skipsdist = true
[testenv]
deps = -r requirements.txt
[testenv:docs]
commands = sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
[testenv:docs-linkcheck]
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
[testenv:docs-all]
commands =
{[testenv:docs]commands}
{[testenv:docs-linkcheck]commands}
[testenv:docs-dev]
deps =
-r requirements.txt
--cache-dir {toxworkdir}/cache
commands =
{[testenv:docs]commands} --keep-going {posargs}
{[testenv:docs-linkcheck]commands} --keep-going {posargs}