Doug Hellmann 78397ebea2 Add optional spell checker target
Add a tox target using sphinxcontrib-spelling to let
authors run a spell checker against documents before
submitting them.

Change-Id: If519fb63bc4b0923a48df9e0435125fd66ab5c0c
2014-04-16 12:41:10 -07:00

26 lines
508 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]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling