Add doc8 checks to docs tox target.

And fix the one error that it throws up.

Change-Id: I51fb24562b5779fc40b9e8fcd3a62c5ea5478faf
This commit is contained in:
Daniel Watkins 2015-06-12 18:42:17 +01:00
parent 5fecfffc76
commit 16e1ee3b51
3 changed files with 6 additions and 2 deletions

@ -10,7 +10,8 @@ Documentation
Summary
-----------------
`Cloud-init`_ is the *defacto* multi-distribution package that handles early initialization of a cloud instance.
`Cloud-init`_ is the *defacto* multi-distribution package that handles
early initialization of a cloud instance.
.. toctree::
:maxdepth: 2

@ -13,4 +13,5 @@ oslosphinx
# For style checking
hacking<0.11,>=0.10.0
doc8
coverage

@ -25,7 +25,9 @@ commands = nosetests --with-coverage --cover-erase --cover-package=cloudinit --c
commands = flake8 {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
commands =
python setup.py build_sphinx
doc8 doc/source
[testenv:venv]
commands = {posargs}