add auto-generated docs for config options
Add automatically generated documentation for the configuration options using oslo_config.sphinxext. Change-Id: I18faeb6c32dec69d3ecb4986317cada2af3632f8
This commit is contained in:
parent
288fefb651
commit
2f5038b712
@ -23,7 +23,8 @@ sys.path.insert(0, os.path.abspath('../..'))
|
|||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
#'sphinx.ext.intersphinx',
|
#'sphinx.ext.intersphinx',
|
||||||
'oslosphinx'
|
'oslosphinx',
|
||||||
|
'oslo_config.sphinxext',
|
||||||
]
|
]
|
||||||
|
|
||||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||||
|
@ -11,6 +11,7 @@ Contents
|
|||||||
installation
|
installation
|
||||||
api/modules
|
api/modules
|
||||||
usage
|
usage
|
||||||
|
opts
|
||||||
contributing
|
contributing
|
||||||
history
|
history
|
||||||
|
|
||||||
|
9
doc/source/opts.rst
Normal file
9
doc/source/opts.rst
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
=======================
|
||||||
|
Configuration Options
|
||||||
|
=======================
|
||||||
|
|
||||||
|
oslo.policy uses oslo.config to define and manage configuration options
|
||||||
|
to allow the deployer to control where the policy files are located and
|
||||||
|
the default rule to apply when policy etc.
|
||||||
|
|
||||||
|
.. show-options:: oslo.policy
|
Loading…
x
Reference in New Issue
Block a user