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: Iacff67847b0708a5d41ab3e1accf59f40326497d
This commit is contained in:
Jesse Pretorius 2016-07-25 14:11:37 +01:00
parent f7968fee28
commit 254418abe8
3 changed files with 3 additions and 1 deletions

View File

@ -28,3 +28,4 @@ Example Playbook
user: root
roles:
- role: "os_rally"

View File

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

View File

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