forked from rackerlabs/docs-rackspace-federation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (41 loc) · 958 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
minversion = 1.6
envlist = clean,checksyntax,checkbuild
skipsdist = True
[testenv]
deps = -r{toxinidir}/requirements.txt
whitelist_externals =
bash
make
[testenv:clean]
commands =
make clean -C {toxinidir}/doc
[testenv:checkbuild]
commands =
make html -C {toxinidir}/doc
[testenv:checklinks]
commands =
make linkcheck -C {toxinidir}/doc
[testenv:checkspelling]
commands =
make spelling -C {toxinidir}/doc
[testenv:checksyntax]
commands =
doc8 doc
[testenv:checkversions]
commands =
make clean -C {toxinidir}/doc
sphinx-versioning build {toxinidir}/doc {toxinidir}/doc/_build/html
[testenv:singlehtml]
commands =
make clean -C {toxinidir}/doc
make singlehtml -C {toxinidir}/doc
[doc8]
# Ignore target directories
ignore-path = doc/_build*
# File extensions to use
extensions = .rst,.txt
# Maximal line length is 79.
max-line-length = 79
# Disable D000: Check RST validity (cannot handle lineos directive)
# ignore = D000