From e0eadde1e2509de1e8291d662af2d64991dbb20f Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Mon, 25 Jul 2016 14:11:12 +0100 Subject: [PATCH] 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 --- README.rst | 3 ++- tox.ini | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e51a556..0d06667 100644 --- a/README.rst +++ b/README.rst @@ -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 }}" + diff --git a/tox.ini b/tox.ini index e835449..ad1d1ce 100644 --- a/tox.ini +++ b/tox.ini @@ -189,3 +189,4 @@ commands = {[testenv:bashate]commands} {[testenv:ansible-lint]commands} {[testenv:ansible-syntax]commands} + {[testenv:docs]commands}