Ensure that doc linting is included in the linters test

The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: I15e21908c9d453256220c304ce85f7488497e719
This commit is contained in:
Jesse Pretorius 2016-07-25 14:11:04 +01:00
parent 61848d3de2
commit 418ebd6e4b
3 changed files with 3 additions and 1 deletions

View File

@ -100,3 +100,4 @@ The ``keystone-install`` tag can be used to install and upgrade.
The ``keystone-config`` tag can be used to maintain configuration of the The ``keystone-config`` tag can be used to maintain configuration of the
service. service.

View File

@ -1 +1 @@
.. include:: ../../README.rst .. include:: ../../README.rst

View File

@ -181,3 +181,4 @@ commands =
{[testenv:bashate]commands} {[testenv:bashate]commands}
{[testenv:ansible-lint]commands} {[testenv:ansible-lint]commands}
{[testenv:ansible-syntax]commands} {[testenv:ansible-syntax]commands}
{[testenv:docs]commands}