python-openstackclient/doc/source/cli
Eric Fried 26878e7d53 identity: autogenerate docs
$namespace = openstack.identity.v{2|3}

The subcommand documents for $namespace were hardcoded and thus prone to
drift over time. This commit removes the hardcoded content and uses the
autoprogram-cliff directive to generate them automatically from the
subcommand configuration classes.

Special things:

- Some reorganization happened here. Certain subcommand names, such as
  `endpoint` and `project`, are shared by identify v2 and v3. Previously
  the hardcoded documents had them combined and interleaved. Attempting
  to preserve this with autoprogram-cliff would have required
  significant additional infrastructure. However, since most readers
  care completely about one and not at all about the other, we instead
  split the v2 and v3 versions of these commands into separate pages. In
  case links to the old pages exist in the wild, they are preserved, but
  moved (with redirects) to a hidden directory, and populated simply
  with links to the new version-specific generated documents.

- The `federation domain` and `federation project` subcommands were
  previously absent from the docs. They are added. These are such small
  commands and they seem related, so they're put into a single document.

- Some pages were already being generated but were listing operations
  individually instead of using wildcards (possibly because they were
  created before wildcarding was supported by cliff). These are changed
  to use wildcarding. (We want to do this wherever possible as it is
  more future-proof in the event that more operations are added to a
  subcommand later.)

- The `service provider` document was incorrectly titled `identity
  provider`. Fixed.

Change-Id: I2030f9fe370038c5908b6eb6bed9692a73fe5067
2020-06-08 16:34:27 -05:00
..
_hidden identity: autogenerate docs 2020-06-08 16:34:27 -05:00
command-objects identity: autogenerate docs 2020-06-08 16:34:27 -05:00
data Merge "Remove deprecated image commands" 2019-06-21 23:00:57 +00:00
man Merge "Replace port 35357 with 5000 for "auth_url"" 2020-03-20 17:07:25 +00:00
plugin-commands Remove congress 2020-06-04 18:29:49 +02:00
authentication.rst Update release table for Train and 4.0.0 2019-09-10 23:48:32 -05:00
backwards-incompatible.rst Remove token_endpoint auth type 2019-08-27 11:08:50 -05:00
command-list.rst reorganize existing documentation according to the new standard layout 2017-06-23 11:54:32 +02:00
commands.rst Remove congress 2020-06-04 18:29:49 +02:00
decoder.rst reorganize existing documentation according to the new standard layout 2017-06-23 11:54:32 +02:00
index.rst identity: autogenerate docs 2020-06-08 16:34:27 -05:00
interactive.rst reorganize existing documentation according to the new standard layout 2017-06-23 11:54:32 +02:00