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:
9
tox.ini
9
tox.ini
@@ -24,7 +24,7 @@ commands = openstack-doc-test --check-links {posargs}
|
|||||||
[testenv:checkniceness]
|
[testenv:checkniceness]
|
||||||
commands =
|
commands =
|
||||||
openstack-doc-test --check-niceness {posargs}
|
openstack-doc-test --check-niceness {posargs}
|
||||||
doc8 -e .rst -e .txt doc
|
doc8 doc
|
||||||
|
|
||||||
[testenv:checksyntax]
|
[testenv:checksyntax]
|
||||||
commands =
|
commands =
|
||||||
@@ -85,3 +85,10 @@ commands = doc-tools-check-languages doc-tools-check-languages.conf test {posarg
|
|||||||
sitepackages=True
|
sitepackages=True
|
||||||
whitelist_externals = doc-tools-check-languages
|
whitelist_externals = doc-tools-check-languages
|
||||||
commands = doc-tools-check-languages doc-tools-check-languages.conf publish all
|
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
|
||||||
|
Reference in New Issue
Block a user