diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-03 00:25:56 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-03 00:25:56 -0400 |
| commit | 89bb5b0b8528ac793b9fc531a24ba709f73a8716 (patch) | |
| tree | 5020590b13c1fc0d7c45bf34db0e160c047a7f0b /doc/source/plugins.rst | |
| parent | 31018bf7c2c57c530d55ed1dd90b9b65d489d557 (diff) | |
| download | python-openstackclient-89bb5b0b8528ac793b9fc531a24ba709f73a8716.tar.gz | |
Add some code-blocks to the docs
Add some basic highlighting for the docs
Change-Id: Ifa740856f3ef636bdf0f60f3b7d082c68062fe9b
Diffstat (limited to 'doc/source/plugins.rst')
| -rw-r--r-- | doc/source/plugins.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/plugins.rst b/doc/source/plugins.rst index 3b35ec08..0635f29e 100644 --- a/doc/source/plugins.rst +++ b/doc/source/plugins.rst @@ -14,7 +14,7 @@ Plugins are discovered by enumerating the entry points found under :py:mod:`openstack.cli.extension` and initializing the specified client module. -:: +.. code-block:: ini [entry_points] openstack.cli.extension = @@ -39,7 +39,7 @@ The client module must implement the following interface functions: OSC enumerates the plugin commands from the entry points in the usual manner defined for the API version: -:: +.. code-block:: ini openstack.oscplugin.v1 = plugin_list = oscplugin.v1.plugin:ListPlugin @@ -48,7 +48,7 @@ defined for the API version: Note that OSC defines the group name as :py:mod:`openstack.<api-name>.v<version>` so the version should not contain the leading 'v' character. -:: +.. code-block:: python DEFAULT_OSCPLUGIN_API_VERSION = '1' |
