summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAllison Randal <allison@lohutok.net>2015-08-28 19:06:32 +0000
committerDoug Hellmann <doug@doughellmann.com>2015-09-25 11:09:53 +0000
commitb43844b19cf8518e9d6eea19df6030304409345d (patch)
tree4958da35aeac58569267195921cbe6873da13541 /doc
parent7511fdde70e31d7840489494bf8a100a690998d9 (diff)
downloadoslo-db-b43844b19cf8518e9d6eea19df6030304409345d.tar.gz
Use stevedore directive to document plugins
Add directives to the documentation to bring in the docstrings from the plugins. Change-Id: I2afe1d1e4a9abfa1d3cdf85bc4008ff8f772123c
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/source/conf.py3
-rw-r--r--doc/source/usage.rst8
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index aa53ed0..69fb87a 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -23,7 +23,8 @@ extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslo_config.sphinxext',
- 'oslosphinx'
+ 'oslosphinx',
+ 'stevedore.sphinxext'
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
diff --git a/doc/source/usage.rst b/doc/source/usage.rst
index cc4f2fd..e437c6c 100644
--- a/doc/source/usage.rst
+++ b/doc/source/usage.rst
@@ -136,3 +136,11 @@ DB API backend support
# DB-API method
def do_something(somethind_id):
return IMPL.do_something(somethind_id)
+
+DB migration extensions
+=======================
+
+Available extensions for :mod:`oslo_db.migration`.
+
+.. list-plugins:: oslo.db.migration
+ :detailed: