Merge "Use sphinx-build -W in [docs] target"

This commit is contained in:
Jenkins
2015-11-30 18:45:20 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ neutronclient.extension entry_point
To activate the commands in a specific extension module, add an entry in To activate the commands in a specific extension module, add an entry in
setup.cfg under neutronclient.extension. For example:: setup.cfg under neutronclient.extension. For example::
[entry_points]
neutronclient.extension = [entry_points]
fox_sockets = neutronclient.neutron.v2_0.contrib._fox_sockets neutronclient.extension =
fox_sockets = neutronclient.neutron.v2_0.contrib._fox_sockets

View File

@@ -36,8 +36,7 @@ setenv =
commands = python setup.py testr --coverage --testr-args='{posargs}' commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs] [testenv:docs]
commands= commands = sphinx-build -W -b html doc/source doc/build/html
python setup.py build_sphinx
[testenv:releasenotes] [testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html