diff options
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/cli/osc/v1/index.rst | 40 | ||||
| -rw-r--r-- | doc/source/cli/osc_plugin_cli.rst | 8 | ||||
| -rw-r--r-- | doc/source/conf.py | 3 |
3 files changed, 51 insertions, 0 deletions
diff --git a/doc/source/cli/osc/v1/index.rst b/doc/source/cli/osc/v1/index.rst new file mode 100644 index 0000000..c0aee31 --- /dev/null +++ b/doc/source/cli/osc/v1/index.rst @@ -0,0 +1,40 @@ +Command Reference +================= + +List of released CLI commands available in openstack client. These commands +can be referenced by doing ``openstack help baremetal``. + +================= +baremetal chassis +================= + +.. autoprogram-cliff:: openstack.baremetal.v1 + :command: baremetal chassis * + +================ +baremetal driver +================ + +.. autoprogram-cliff:: openstack.baremetal.v1 + :command: baremetal driver * + +============== +baremetal node +============== + +.. autoprogram-cliff:: openstack.baremetal.v1 + :command: baremetal node * + +============== +baremetal port +============== + +.. autoprogram-cliff:: openstack.baremetal.v1 + :command: baremetal port * + +================ +baremetal volume +================ + +.. autoprogram-cliff:: openstack.baremetal.v1 + :command: baremetal volume * diff --git a/doc/source/cli/osc_plugin_cli.rst b/doc/source/cli/osc_plugin_cli.rst index 79e7455..1775e5c 100644 --- a/doc/source/cli/osc_plugin_cli.rst +++ b/doc/source/cli/osc_plugin_cli.rst @@ -83,3 +83,11 @@ The baremetal API version can be specified via: * or optional command line argument --os-baremetal-api-version:: $ openstack baremetal port group list --os-baremetal-api-version 1.25 + +Command Reference +================= +.. toctree:: + :glob: + :maxdepth: 3 + + osc/v1/* diff --git a/doc/source/conf.py b/doc/source/conf.py index 26cedab..270cc79 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -5,6 +5,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme', + 'cliff.sphinxext', ] # openstackdocstheme options @@ -74,3 +75,5 @@ latex_documents = [ 'manual' ), ] + +autoprogram_cliff_application = 'openstack' |
