Merge "Move to auto-generated CLI reference"

This commit is contained in:
Jenkins 2017-09-13 01:40:26 +00:00 committed by Gerrit Code Review
commit 1d482bb958
4 changed files with 39 additions and 1204 deletions

View File

@ -1,11 +1 @@
Using Octavia CLI extensions to OpenStack Client
================================================
List of released CLI commands available in openstack client. These commands
can be referenced by doing ``openstack help loadbalancer``.
.. toctree::
:glob:
:maxdepth: 2
osc/v2/*
.. include:: osc/v2/load-balancer.rst

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,8 @@ sys.path.insert(0, os.path.abspath('../..'))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
'openstackdocstheme'
'openstackdocstheme',
'cliff.sphinxext'
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@ -81,3 +82,4 @@ bug_project = 'octavia'
bug_tag = 'doc'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
autoprogram_cliff_application = 'openstack'

View File

@ -219,7 +219,7 @@ class SetLoadBalancer(command.Command):
parser.add_argument(
'loadbalancer',
metavar='<load balancer>',
metavar='<load_balancer>',
help='Name or UUID of the load balancer to update.'
)
parser.add_argument(