Use [doc8] section

Move settings for doc8 into its own section and ignore target
directories.

Change-Id: Ic3e6a3ab8136812f06cc4ff2846247a8c8f765d3
Partial-Bug: #1363191
This commit is contained in:
Andreas Jaeger 2014-08-30 19:59:51 +02:00
parent 8e114dbc7b
commit f745c2aca3
1 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,7 @@ commands = openstack-doc-test --check-links {posargs}
[testenv:checkniceness]
commands =
openstack-doc-test --check-niceness {posargs}
doc8 -e .rst -e .txt doc
doc8 doc
[testenv:checksyntax]
commands =
@ -85,3 +85,10 @@ commands = doc-tools-check-languages doc-tools-check-languages.conf test {posarg
sitepackages=True
whitelist_externals = doc-tools-check-languages
commands = doc-tools-check-languages doc-tools-check-languages.conf publish all
[doc8]
# Settings for doc8:
# Ignore target directories
ignore_path = doc/*/target
# File extensions to use
extensions = .rst,.txt