Add doc8 checks to docs tox target.
And fix the one error that it throws up. Change-Id: I51fb24562b5779fc40b9e8fcd3a62c5ea5478faf
This commit is contained in:
@@ -10,7 +10,8 @@ Documentation
|
|||||||
Summary
|
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::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
@@ -13,4 +13,5 @@ oslosphinx
|
|||||||
|
|
||||||
# For style checking
|
# For style checking
|
||||||
hacking<0.11,>=0.10.0
|
hacking<0.11,>=0.10.0
|
||||||
|
doc8
|
||||||
coverage
|
coverage
|
||||||
|
4
tox.ini
4
tox.ini
@@ -25,7 +25,9 @@ commands = nosetests --with-coverage --cover-erase --cover-package=cloudinit --c
|
|||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands =
|
||||||
|
python setup.py build_sphinx
|
||||||
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Reference in New Issue
Block a user