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 http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Remove [build_sphinx] as described in: http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: Ib1059403dccf7a58e8a8554c1298a601c2c067a2
This commit is contained in:
@@ -27,7 +27,8 @@ Aodh API.
|
|||||||
__ https://docs.openstack.org/aodh/latest/
|
__ https://docs.openstack.org/aodh/latest/
|
||||||
|
|
||||||
|
|
||||||
Contents:
|
Contents
|
||||||
|
--------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
@@ -38,7 +39,7 @@ Contents:
|
|||||||
contributing
|
contributing
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
------------------
|
||||||
|
|
||||||
* :ref:`genindex`
|
* :ref:`genindex`
|
||||||
* :ref:`modindex`
|
* :ref:`modindex`
|
||||||
|
|||||||
@@ -56,14 +56,6 @@ openstack.alarming.v2 =
|
|||||||
alarm-history show = aodhclient.v2.alarm_history_cli:CliAlarmHistoryShow
|
alarm-history show = aodhclient.v2.alarm_history_cli:CliAlarmHistoryShow
|
||||||
alarming capabilities list = aodhclient.v2.capabilities_cli:CliCapabilitiesList
|
alarming capabilities list = aodhclient.v2.capabilities_cli:CliCapabilitiesList
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
source-dir = doc/source
|
|
||||||
build-dir = doc/build
|
|
||||||
all_files = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
|
||||||
upload-dir = doc/build/html
|
|
||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = aodhclient/locale
|
directory = aodhclient/locale
|
||||||
domain = aodhclient
|
domain = aodhclient
|
||||||
|
|||||||
5
tox.ini
5
tox.ini
@@ -38,8 +38,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
|||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/source/ref
|
rm -rf doc/build
|
||||||
python setup.py build_sphinx
|
sphinx-build -b html doc/source doc/build/html
|
||||||
|
whitelist_externals = rm
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = pifpaf --debug run aodh -- oslo_debug_helper {posargs}
|
commands = pifpaf --debug run aodh -- oslo_debug_helper {posargs}
|
||||||
|
|||||||
Reference in New Issue
Block a user