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: I077633386eeb83f94660547baf44e0edcfb34f78
This commit is contained in:
Jesse Pretorius 2016-07-25 14:11:12 +01:00
parent 52223db349
commit e0eadde1e2
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
OpenStack-Ansible Magnum
#######################
########################
:tags: openstack, magnum, cloud, ansible
:category: \*nix
@ -33,3 +33,4 @@ Example Playbook
external_lb_vip_address: 172.16.24.1
internal_lb_vip_address: 192.168.0.1
magnum_galera_address: "{{ internal_lb_vip_address }}"

View File

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