Fix docs build to run properly

Change-Id: I7f684bc48c5ce913a5799f78c80bda459cf35f65
This commit is contained in:
Davanum Srinivas 2014-08-11 15:12:26 -04:00 committed by Davanum Srinivas (dims)
parent d2d8f253ab
commit 94bff36bdf
6 changed files with 19 additions and 5 deletions

View File

@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/oslo.serialization
https://bugs.launchpad.net/oslo

View File

@ -1 +1,5 @@
.. include:: ../../CONTRIBUTING.rst
==============
Contributing
==============
.. include:: ../../CONTRIBUTING.rst

View File

@ -1 +1 @@
.. include:: ../README.rst
.. include:: ../../README.rst

View File

@ -26,6 +26,9 @@ packages =
namespace_packages =
oslo
[pbr]
warnerrors = true
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
@ -46,4 +49,4 @@ input_file = oslo.serialization/locale/oslo.serialization.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo.serialization/locale/oslo.serialization.pot
output_file = oslo.serialization/locale/oslo.serialization.pot

View File

@ -1,7 +1,11 @@
hacking>=0.5.6,<0.8
mock>=1.0
netaddr
# this is required for the docs build jobs
sphinx>=1.1.2,!=1.2.0,<1.3
oslosphinx
oslotest
simplejson
oslo.i18n>=0.2.0

View File

@ -22,6 +22,9 @@ commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
@ -32,4 +35,4 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build