Fix docs build to run properly
Change-Id: I7f684bc48c5ce913a5799f78c80bda459cf35f65
This commit is contained in:
parent
d2d8f253ab
commit
94bff36bdf
|
@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
|
||||||
|
|
||||||
Bugs should be filed on Launchpad, not GitHub:
|
Bugs should be filed on Launchpad, not GitHub:
|
||||||
|
|
||||||
https://bugs.launchpad.net/oslo.serialization
|
https://bugs.launchpad.net/oslo
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
.. include:: ../../CONTRIBUTING.rst
|
==============
|
||||||
|
Contributing
|
||||||
|
==============
|
||||||
|
|
||||||
|
.. include:: ../../CONTRIBUTING.rst
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.. include:: ../README.rst
|
.. include:: ../../README.rst
|
||||||
|
|
|
@ -26,6 +26,9 @@ packages =
|
||||||
namespace_packages =
|
namespace_packages =
|
||||||
oslo
|
oslo
|
||||||
|
|
||||||
|
[pbr]
|
||||||
|
warnerrors = true
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
|
@ -46,4 +49,4 @@ input_file = oslo.serialization/locale/oslo.serialization.pot
|
||||||
[extract_messages]
|
[extract_messages]
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
output_file = oslo.serialization/locale/oslo.serialization.pot
|
output_file = oslo.serialization/locale/oslo.serialization.pot
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
hacking>=0.5.6,<0.8
|
hacking>=0.5.6,<0.8
|
||||||
mock>=1.0
|
mock>=1.0
|
||||||
netaddr
|
netaddr
|
||||||
|
|
||||||
|
# this is required for the docs build jobs
|
||||||
|
sphinx>=1.1.2,!=1.2.0,<1.3
|
||||||
oslosphinx
|
oslosphinx
|
||||||
|
|
||||||
oslotest
|
oslotest
|
||||||
simplejson
|
simplejson
|
||||||
oslo.i18n>=0.2.0
|
oslo.i18n>=0.2.0
|
||||||
|
|
5
tox.ini
5
tox.ini
|
@ -22,6 +22,9 @@ commands = flake8
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
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
|
show-source = True
|
||||||
ignore = E123,E125,H803
|
ignore = E123,E125,H803
|
||||||
builtins = _
|
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
|
||||||
|
|
Loading…
Reference in New Issue