project-team-guide/tox.ini
Sean McGinnis ef08132d5f
Enable doc8 linting
Keep our docs clean and try to avoid those cases where things are fine
until a sphinx or other dependency gets updated and suddenly starts
breaking.

Change-Id: I92e8ecd480937d55b968880c6c3d18885c3b12bf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-06-27 14:21:56 -05:00

26 lines
523 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/doc/requirements.txt
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
doc8
sphinx-build -W -b html doc/source doc/build/html
[doc8]
ignore-path=.tox,doc/build,.eggs/,./*.txt,project_team_guide.egg-info/
extensions=.txt,.rst,.inc