-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
63 lines (50 loc) · 1.25 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tox]
minversion = 1.6
envlist = clean,checksyntax,checkbuild,checkspelling
skipsdist = True
[testenv]
setenv VIRTUAL_ENV={envdir}
install_command = python -m pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
whitelist_externals =
bash
make
[testenv:clean]
commands =
make clean -C {toxinidir}/api-docs
[testenv:checkbuild]
commands =
make html -C {toxinidir}/api-docs
[testenv:checklinks]
commands =
make linkcheck -C {toxinidir}/api-docs
[testenv:checkspelling]
commands =
make spelling -C {toxinidir}/api-docs
[testenv:checksyntax]
commands =
doc8 api-docs
[testenv:checkversions]
commands =
make clean -C {toxinidir}/api-docs
sphinx-versioning build {toxinidir}/api-docs {toxinidir}/api-docs/_build/html
[testenv:jenkins]
commands =
make htmlvers
#[testenv:publish]
#commands =
# make clean -C {toxinidir}/api-docs
# sphinx-versioning push {toxinidir}/api-docs gh-pages .
[testenv:singlehtml]
commands =
make clean -C {toxinidir}/api-docs
make singlehtml -C {toxinidir}/api-docs
[docs8]
# Ignore target directories
ignore-path = api-docs/_build*
# File extensions to use
extensions = .rst
# Maximal line length is 79.
max-line-length = 79
# Disable D000: Check RST validity (cannot handle lineos directive)
# ignore = D000