Merge "autodocument commands from plugins using stevedore.sphinxext"

This commit is contained in:
Jenkins 2015-12-01 23:27:08 +00:00 committed by Gerrit Code Review
commit a9a7caf934
5 changed files with 47 additions and 1 deletions

View File

@ -126,7 +126,8 @@ Plugin Objects
-------------- --------------
The following are known `Objects` used by OpenStack :doc:`plugins`. These are The following are known `Objects` used by OpenStack :doc:`plugins`. These are
listed here to avoid name conflicts when creating new plugins. listed here to avoid name conflicts when creating new plugins. For a complete
list check out :doc:`plugin-commands`.
* ``baremetal``: (**Baremetal (Ironic)**) * ``baremetal``: (**Baremetal (Ironic)**)
* ``congress datasource``: (**Policy (Congress)**) * ``congress datasource``: (**Policy (Congress)**)

View File

@ -38,6 +38,7 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo', 'sphinx.ext.todo',
'oslosphinx', 'oslosphinx',
'ext.apidoc', 'ext.apidoc',
'stevedore.sphinxext',
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.

View File

@ -16,6 +16,7 @@ User Documentation
commands commands
configuration configuration
plugins plugins
plugin-commands
authentication authentication
interactive interactive
humaninterfaceguide humaninterfaceguide

View File

@ -0,0 +1,32 @@
=================
Plugin Commands
=================
.. list-plugins:: openstack.cli.extension
.. list-plugins:: openstack.key_manager.v1
:detailed:
.. list-plugins:: openstack.baremetal.v1
:detailed:
.. list-plugins:: openstack.congressclient.v1
:detailed:
.. list-plugins:: openstack.workflow_engine.v2
:detailed:
.. list-plugins:: openstack.data_processing.v1
:detailed:
.. list-plugins:: openstack.dns.v1
:detailed:
.. list-plugins:: openstack.management.v1
:detailed:
.. list-plugins:: openstack.messaging.v1
:detailed:
.. list-plugins:: openstack.orchestration.v1
:detailed:

View File

@ -16,3 +16,14 @@ testrepository>=0.0.18
testtools>=1.4.0 testtools>=1.4.0
WebOb>=1.2.3 WebOb>=1.2.3
tempest-lib>=0.10.0 tempest-lib>=0.10.0
# Install these to generate sphinx autodocs
python-barbicanclient>=3.3.0
python-congressclient>=1.0.0
python-designateclient>=1.5.0
python-heatclient>=0.6.0
python-ironicclient>=0.8.0
python-mistralclient>=1.0.0
python-saharaclient>=0.10.0
python-tuskarclient>=0.1.17
python-zaqarclient>=0.3.0