Reenable some doc8 tests

Enable doc8 but disable D000 (RST validation) and
D001 test (overlong lines). This also disables
all the problems we had in the past with doc8 checking, the current
files pass doc8 after fixing a few minor problems (part of change).

This basically tests for whitespace.

Change-Id: I648ac7f78b3a31f3b1434dc7d7d0b887ce4d5128
This commit is contained in:
Andreas Jaeger 2015-04-21 09:13:18 +02:00
parent 8bc1939c0b
commit 21ea9aff19
6 changed files with 13 additions and 7 deletions

View File

@ -12,3 +12,4 @@ openstack-doc-tools>=0.23
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
openstackdocstheme>=1.0.3
oslosphinx>=2.5.0,<2.6.0 # Apache-2.0
doc8 # Apache-2.0

View File

@ -25,6 +25,7 @@ commands = openstack-doc-test --check-links {posargs}
commands =
openstack-doc-test --check-niceness {posargs}
flake8
doc8 doc
[testenv:checksyntax]
commands =
@ -141,6 +142,10 @@ commands = {toxinidir}/tools/generatepot-rst.sh {posargs}
ignore-path = doc/*/target,doc/*/build
# File extensions to use
extensions = .rst,.txt
# Disable some doc8 checks:
# D000: Check RST validity (cannot handle lineos directive)
# D001: Ignore lines longer than 79 chars
ignore = D000, D001
[flake8]
show-source = True