doc: Integrate oslo_policy.sphinxpolicygen

Change-Id: I80e75b8a592e1125e02ca6177661177a7c17c927
This commit is contained in:
Stephen Finucane 2016-09-26 14:53:18 +01:00
parent da12b6537f
commit a3b300f8a1
3 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -45,6 +45,7 @@ nova/tests/cover/*
nova/vcsversion.py
tools/conf/nova.conf*
doc/source/_static/nova.conf.sample
doc/source/_static/nova.policy.yaml.sample
# Files created by releasenotes build
releasenotes/build

View File

@ -34,8 +34,9 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.graphviz',
'oslosphinx',
"ext.support_matrix",
'ext.support_matrix',
'oslo_config.sphinxconfiggen',
'oslo_policy.sphinxpolicygen',
'ext.versioned_notifications',
'ext.feature_matrix',
]
@ -43,6 +44,9 @@ extensions = ['sphinx.ext.autodoc',
config_generator_config_file = '../../etc/nova/nova-config-generator.conf'
sample_config_basename = '_static/nova'
policy_generator_config_file = '../../etc/nova/nova-policy-generator.conf'
sample_policy_basename = '_static/nova'
todo_include_todos = True
# The suffix of source filenames.

View File

@ -190,6 +190,13 @@ Sample Configuration File
sample_config
Sample Policy file
------------------
.. toctree::
:maxdepth: 1
sample_policy
Man Pages
----------