Add some guidance for group names
Closes-Bug: #1375898 Change-Id: I358f0f1529ae88007bdfd1cb453d432c529cb5fd
This commit is contained in:
parent
5ada83306c
commit
0a7abd0aa8
@ -19,6 +19,7 @@ Contents
|
||||
fixture
|
||||
parser
|
||||
exceptions
|
||||
namespaces
|
||||
styleguide
|
||||
generator
|
||||
|
||||
|
12
doc/source/namespaces.rst
Normal file
12
doc/source/namespaces.rst
Normal file
@ -0,0 +1,12 @@
|
||||
----------------------------------------------
|
||||
Choosing group names for configuration options
|
||||
----------------------------------------------
|
||||
|
||||
Applications should use a meaningful name without a prefix. For Oslo
|
||||
libraries, when naming groups for configuration options using the
|
||||
name of the library itself instead of a descriptive name to help avoid
|
||||
collisions. If the library name is namespaced then use '_' as a separator
|
||||
in the group name.
|
||||
|
||||
For example, the ``oslo.log`` library should use ``oslo_log`` as the
|
||||
group name.
|
Loading…
x
Reference in New Issue
Block a user