Mark doc warnings as errors
Also remove unnecessary removal of build directory in the docs tox target. Change-Id: Ia91a7c473f2fc1a029a7462db70e8b5188468bbb
This commit is contained in:
parent
423a8c0f1e
commit
a0bfc472a2
@ -51,6 +51,7 @@ setup-hooks =
|
|||||||
all_files = 1
|
all_files = 1
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
|
warning-is-error = 1
|
||||||
|
|
||||||
[egg_info]
|
[egg_info]
|
||||||
tag_build =
|
tag_build =
|
||||||
|
4
tox.ini
4
tox.ini
@ -51,9 +51,7 @@ commands = nodeenv -p
|
|||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands =
|
commands = python setup.py build_sphinx
|
||||||
rm -rf doc/build
|
|
||||||
python setup.py build_sphinx
|
|
||||||
|
|
||||||
[testenv:makemessages]
|
[testenv:makemessages]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user