path: root/tox.ini
diff options
authorDanny Al-Gaaf <>2017-02-15 07:07:42 +0100
committerDanny Al-Gaaf <>2017-02-15 07:07:42 +0100
commita8ec3317be53b1bef23522e713a3f6e02ebbb505 (patch)
tree42084fd8f32e234c55528ae0f6029862b6282450 /tox.ini
parentfa8170fb65931d15de95be34a0fd514129226c18 (diff)
doc: verify all rst files
Make use of doc8 to verify all rst files which are not autogenerated for errors and fail if there are any issues found. The doc8 checks are now part of the tox 'docs' environment and ran automatically. Checks can also be called direcly via 'tox -e docs'. Fix all issues found by doc8. Closes-Bug: #1664841 Change-Id: I9215524d35646de7485504e4c5ff86fd91a1d09f Signed-off-by: Danny Al-Gaaf <>
Notes (review): Code-Review+2: Rodrigo Barbieri <> Code-Review+2: Goutham Pacha Ravi <> Workflow+1: Goutham Pacha Ravi <> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 16 Feb 2017 21:34:19 +0000 Reviewed-on: Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 793c41e..a218293 100644
--- a/tox.ini
+++ b/tox.ini
@@ -63,7 +63,9 @@ commands =
63commands = {posargs} 63commands = {posargs}
64 64
65[testenv:docs] 65[testenv:docs]
66commands = python build_sphinx 66commands =
67 python build_sphinx
68 doc8 --ignore D001 --ignore-path .tox --ignore-path doc/build --ignore-path manila.egg-info -e txt -e rst
67 69
68[testenv:cover] 70[testenv:cover]
69commands = {toxinidir}/tools/ {posargs} 71commands = {toxinidir}/tools/ {posargs}