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