force releasenotes warnings to be treated as errors
This patch applies the instruction in [1] to ensure that the release notes render properly and without warnings by adding "-W" to the sphinx-build line in tox.ini so that Sphinx can treat warnings as errors. [1] [openstack-dev] [release] better linting of release notes http://lists.openstack.org/pipermail/openstack-dev/2015-November/080521.html Change-Id: I64c05014e88a48b6336ce92c87da47dbe34b20d8
This commit is contained in:
parent
37816a0e63
commit
1b39899c45
2
tox.ini
2
tox.ini
@ -59,7 +59,7 @@ commands =
|
||||
python setup.py build_sphinx
|
||||
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -E -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:venv]
|
||||
setenv = PYTHONHASHSEED=0
|
||||
|
Loading…
Reference in New Issue
Block a user