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: Ifb66e109667ae14f56f83a91301b0595319a24ca
This commit is contained in:
Jesse Pretorius 2016-07-25 14:09:05 +01:00
parent 6c75a123cb
commit 4c0c29037d
3 changed files with 3 additions and 1 deletions

View File

@ -25,3 +25,4 @@ Example Playbook
user: root
roles:
- { role: "lxc_hosts" }

View File

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