summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2015-02-18 10:59:02 -0500
committerDoug Hellmann <doug@doughellmann.com>2015-02-18 12:45:04 -0500
commit41d8bf1c07c84808ebd50313755cf77721c03e58 (patch)
treebba1d1324a5c3c5552d8e3956e6f883da6c669fd /doc
parentb475cd53daa44d2d0387fe2f891c06ccc76135c8 (diff)
downloadoslo-policy-41d8bf1c07c84808ebd50313755cf77721c03e58.tar.gz
Clean up configuration option management0.1.0
Move the option definitions into the opts module with the other functions related to options. Add set_defaults() to override the default settings for options and make it part of the public API of the library by including it in the documentation. Add opts._register() so the options can be registered consistently from multiple places. Change-Id: Ib74beac58a07bf5ee0f92c2b7eda8281ef7d7c33
Diffstat (limited to 'doc')
-rw-r--r--doc/source/api.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/api.rst b/doc/source/api.rst
index 3e2a950..35d9338 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -2,5 +2,14 @@
API
=====
+oslo_policy.policy
+==================
+
.. automodule:: oslo_policy.policy
:members:
+
+oslo_policy.opts
+================
+
+.. automodule:: oslo_policy.opts
+ :members: