Merge "Use oslo.config-sphinxext to build the conf options"

This commit is contained in:
Zuul 2017-11-01 20:54:42 +00:00 committed by Gerrit Code Review
commit 37ddc6569e
4 changed files with 30 additions and 14 deletions

View File

@ -48,6 +48,7 @@ extensions = [
'sphinxcontrib.pecanwsme.rest',
'stevedore.sphinxext',
'oslo_config.sphinxconfiggen',
'oslo_config.sphinxext',
'sphinxcontrib.httpdomain',
]

View File

@ -0,0 +1,18 @@
.. _aodh-config-file:
Aodh Sample Configuration File
==============================
Configure Aodh by editing /etc/aodh/aodh.conf.
No config file is provided with the source code, it will be created during
the installation. In case where no configuration file was installed, one
can be easily created by running::
aodh-config-generator
The following is a sample Aodh configuration for adaptation and use. It is
auto-generated from Aodh when this documentation is built, and can also be
viewed in `file form <_static/aodh.conf.sample>`_.
.. literalinclude:: ../_static/aodh.conf.sample

View File

@ -0,0 +1,7 @@
Aodh Configuration Options
==========================
.. show-options::
:split-namespaces:
aodh

View File

@ -1,22 +1,12 @@
.. _configuring:
==========================
Aodh Configuration Options
Configuration Guide
==========================
Aodh Sample Configuration File
==============================
.. toctree::
aodh-config-file.rst
aodh-config-options.rst
Configure Aodh by editing /etc/aodh/aodh.conf.
No config file is provided with the source code, it will be created during
the installation. In case where no configuration file was installed, one
can be easily created by running::
aodh-config-generator
The following is a sample Aodh configuration for adaptation and use. It is
auto-generated from Aodh when this documentation is built, and can also be
viewed in `file form <_static/aodh.conf.sample>`_.
.. literalinclude:: ../_static/aodh.conf.sample