auto-scaling-sig/tox.ini
Adam Spiers f0f688096e Initial Sphinx structure
Copied from self-healing-sig repo.

Change-Id: I1cd9099a6e23b1591c4bc150ce54861ec06302ff
2019-05-15 19:30:09 +00:00

29 lines
592 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:spelling]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling