Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I28b26e9fa38c2ef854cc5f84e00b4f50ad55394d
This commit is contained in:
parent
8585a065c9
commit
a89016706f
|
@ -40,7 +40,6 @@ Developer Documentation
|
||||||
testing
|
testing
|
||||||
contributing
|
contributing
|
||||||
event-alarm
|
event-alarm
|
||||||
api/autoindex
|
|
||||||
|
|
||||||
Appendix
|
Appendix
|
||||||
========
|
========
|
||||||
|
|
13
setup.cfg
13
setup.cfg
|
@ -111,19 +111,6 @@ oslo.config.opts.defaults =
|
||||||
oslo.policy.policies =
|
oslo.policy.policies =
|
||||||
aodh = aodh.api.policies:list_rules
|
aodh = aodh.api.policies:list_rules
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
all_files = 1
|
|
||||||
build-dir = doc/build
|
|
||||||
source-dir = doc/source
|
|
||||||
warning-is-error = 1
|
|
||||||
|
|
||||||
[pbr]
|
|
||||||
autodoc_index_modules = true
|
|
||||||
autodoc_exclude_modules =
|
|
||||||
aodh.storage.sqlalchemy.alembic.*
|
|
||||||
aodh.tests.*
|
|
||||||
api_doc_dir = contributor/api
|
|
||||||
|
|
||||||
[extract_messages]
|
[extract_messages]
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -44,7 +44,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands = python setup.py build_sphinx
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
setenv = PYTHONHASHSEED=0
|
setenv = PYTHONHASHSEED=0
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
|
Loading…
Reference in New Issue