]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: use "confsec" role for configure section
authorKefu Chai <kchai@redhat.com>
Sat, 17 Apr 2021 16:40:15 +0000 (00:40 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 19 Apr 2021 09:08:45 +0000 (17:08 +0800)
and rename confval_section to confsec for shorter name

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/_ext/ceph_confval.py
doc/rados/configuration/ceph-conf.rst

index b574bc6ae73a6fd40b06b86f8c47852e6f70f63c..e69025ae9dbe4240388cfcefe6de6875a1d57f9a 100644 (file)
@@ -239,8 +239,8 @@ def setup(app) -> Dict[str, Any]:
         ]
     )
     app.add_object_type(
-        'confval_section',
-        'confval_section',
+        'confsec',
+        'confsec',
         objname='configuration section',
         indextemplate='pair: %s; configuration section',
         doc_field_types=[
index 3e25fb30bf46494db798bec27ed0bb435c679ec2..813df3721f024aeb9cd30165254474d78a1a381f 100644 (file)
@@ -115,14 +115,14 @@ they apply to.
 
 These sections include:
 
-.. confval_section:: global
+.. confsec:: global
 
    Settings under ``global`` affect all daemons and clients
    in a Ceph Storage Cluster.
 
    :example: ``log_file = /var/log/ceph/$cluster-$type.$id.log``
 
-.. confval_section:: mon
+.. confsec:: mon
 
    Settings under ``mon`` affect all ``ceph-mon`` daemons in
    the Ceph Storage Cluster, and override the same setting in
@@ -130,7 +130,7 @@ These sections include:
 
    :example: ``mon_cluster_log_to_syslog = true``
 
-.. confval_section:: mgr
+.. confsec:: mgr
 
    Settings in the ``mgr`` section affect all ``ceph-mgr`` daemons in
    the Ceph Storage Cluster, and override the same setting in
@@ -138,7 +138,7 @@ These sections include:
 
    :example: ``mgr_stats_period = 10``
 
-.. confval_section:: osd
+.. confsec:: osd
 
    Settings under ``osd`` affect all ``ceph-osd`` daemons in
    the Ceph Storage Cluster, and override the same setting in
@@ -146,7 +146,7 @@ These sections include:
 
    :example: ``osd_op_queue = wpq``
 
-.. confval_section:: mds
+.. confsec:: mds
 
    Settings in the ``mds`` section affect all ``ceph-mds`` daemons in
    the Ceph Storage Cluster, and override the same setting in
@@ -154,7 +154,7 @@ These sections include:
 
    :example: ``mds_cache_memory_limit = 10G``
 
-.. confval_section:: client
+.. confsec:: client
 
    Settings under ``client`` affect all Ceph Clients
    (e.g., mounted Ceph File Systems, mounted Ceph Block Devices,
@@ -170,7 +170,7 @@ Sections may also specify an individual daemon or client name.  For example,
 Any given daemon will draw its settings from the global section, the
 daemon or client type section, and the section sharing its name.
 Settings in the most-specific section take precedence, so for example
-if the same option is specified in both ``global``, ``mon``, and
+if the same option is specified in both :confsec:`global`, :confsec:`mon`, and
 ``mon.foo`` on the same source (i.e., in the same configurationfile),
 the ``mon.foo`` value will be used.
 
@@ -639,6 +639,6 @@ These changes are as follows:
     bad option ==== bad value
 
 - Before Octopus, if no section name was specified in the configuration file,
-  all options would be set as though they were within the ``global`` section. This is
+  all options would be set as though they were within the :confsec:`global` section. This is
   now discouraged. Since Octopus, only a single option is allowed for
   configuration files without a section name.