From f745c2aca3411b41d84d940cdbde1a550a17ec75 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 30 Aug 2014 19:59:51 +0200 Subject: [PATCH] Use [doc8] section Move settings for doc8 into its own section and ignore target directories. Change-Id: Ic3e6a3ab8136812f06cc4ff2846247a8c8f765d3 Partial-Bug: #1363191 --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 42755ebf01..e11c9094bb 100644 --- a/tox.ini +++ b/tox.ini @@ -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