Use show-policy to render default policy in documentation
Change-Id: Ie5aa98294f7e0b9bdc46ceaa83316d831310b6bc
This commit is contained in:
parent
f01f31a792
commit
2b607546e1
@ -33,6 +33,7 @@ extensions = [
|
|||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'oslo_config.sphinxext',
|
'oslo_config.sphinxext',
|
||||||
'oslo_config.sphinxconfiggen',
|
'oslo_config.sphinxconfiggen',
|
||||||
|
'oslo_policy.sphinxext',
|
||||||
'oslo_policy.sphinxpolicygen',
|
'oslo_policy.sphinxpolicygen',
|
||||||
'openstackdocstheme',
|
'openstackdocstheme',
|
||||||
'sphinxcontrib.apidoc',
|
'sphinxcontrib.apidoc',
|
||||||
|
11
doc/source/configuration/glance_policy.rst
Normal file
11
doc/source/configuration/glance_policy.rst
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
.. _policy.yaml:
|
||||||
|
|
||||||
|
The following policies are shipped by default. Glance will assume a policy's
|
||||||
|
default value if it's not explicitly overridden in the policy file.
|
||||||
|
|
||||||
|
-----------
|
||||||
|
policy.yaml
|
||||||
|
-----------
|
||||||
|
|
||||||
|
.. show-policy::
|
||||||
|
:config-file: etc/glance-policy-generator.conf
|
Loading…
x
Reference in New Issue
Block a user