blob: 8cc5d8a1b940e585239ea55fbde73d4b79e0bdbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[tox]
minversion = 1.6
skipsdist = True
envlist = rstcheck
[testenv]
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
usedevelop = False
install_command = pip install {opts} {packages}
[testenv:rstcheck]
deps = rstcheck
whitelist_externals = bash
commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
-name \*.rst -type f -print0 | xargs -0 rstcheck"
[testenv:docs]
deps =
sphinx
sphinxcontrib-swaggerdoc
commands = sphinx-build -W -b html docs docs/build/html
|