Include .inc files in doc8 linting
We use *.inc files extensively, especially in the api-ref, but these files are not covered by default with our doc8 validation. This adds support for those files and fixes a few issues that were identified after enabling coverage. Change-Id: I807823f3cb44274c3940db55e901d434304a09f5 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
2d79dafcb3
commit
b6f9932f9c
2
tox.ini
2
tox.ini
@ -142,7 +142,7 @@ deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
doc8 --ignore D001 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e txt -e rst
|
||||
doc8 --ignore D001 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e .txt -e .rst -e .inc
|
||||
rm -fr doc/build doc/source/contributor/api/ .autogenerated
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
rm -rf api-ref/build
|
||||
|
Loading…
Reference in New Issue
Block a user