20 lines
517 B
INI
20 lines
517 B
INI
[tox]
|
|
# Allows docs to be built without setup.py having to exist. Requires that
|
|
# usedevelop be False as well (which it is by default).
|
|
skipsdist = True
|
|
envlist = docs
|
|
|
|
[testenv]
|
|
passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
|
|
setenv=
|
|
VIRTUAL_ENV={envdir}
|
|
install_command = pip install {opts} {packages}
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
whitelist_externals = rm
|
|
commands =
|
|
rm -rf doc/build
|
|
sphinx-build -W -b html doc/source doc/build
|