Преглед изворни кода

chore: remove zone desc from document

zhongwencool пре 2 година
родитељ
комит
520ae0e9d3

+ 1 - 3
apps/emqx/src/emqx_schema.erl

@@ -1836,9 +1836,7 @@ desc("stats") ->
 desc("authorization") ->
 desc("authorization") ->
     "Settings for client authorization.";
     "Settings for client authorization.";
 desc("mqtt") ->
 desc("mqtt") ->
-    "Global MQTT configuration.<br/>"
-    "The configs here work as default values which can be overridden\n"
-    "in <code>zone</code> configs";
+    "Global MQTT configuration.";
 desc("authz_cache") ->
 desc("authz_cache") ->
     "Settings for the authorization cache.";
     "Settings for the authorization cache.";
 desc("zone") ->
 desc("zone") ->

+ 4 - 4
rel/i18n/emqx_mgmt_api_configs.hocon

@@ -23,14 +23,14 @@ rest_conf_query.label:
 """Reset the config entry with query"""
 """Reset the config entry with query"""
 
 
 get_global_zone_configs.desc:
 get_global_zone_configs.desc:
-"""Get the global zone configs"""
+"""Get the MQTT-related configuration"""
 get_global_zone_configs.label:
 get_global_zone_configs.label:
-"""Get the global zone configs"""
+"""Get the MQTT-related configuration"""
 
 
 update_global_zone_configs.desc:
 update_global_zone_configs.desc:
-"""Update global zone configs"""
+"""Update MQTT-related configuration"""
 update_global_zone_configs.label:
 update_global_zone_configs.label:
-"""Update global zone configs"""
+"""Update MQTT-related configuration"""
 
 
 get_node_level_limiter_configs.desc:
 get_node_level_limiter_configs.desc:
 """Get the node-level limiter configs"""
 """Get the node-level limiter configs"""

+ 5 - 6
rel/i18n/emqx_mgmt_api_key_schema.hocon

@@ -7,12 +7,11 @@ api_key.label:
 """API Key"""
 """API Key"""
 
 
 bootstrap_file.desc:
 bootstrap_file.desc:
-"""Bootstrap file is used to add an api_key when emqx is launched,
-      the format is:
-       ```
-       7e729ae70d23144b:2QILI9AcQ9BYlVqLDHQNWN2saIjBV4egr1CZneTNKr9CpK
-       ec3907f865805db0:Ee3taYltUKtoBVD9C3XjQl9C6NXheip8Z9B69BpUv5JxVHL
-       ```"""
+"""The bootstrap file provides API keys for EMQX.
+EMQX will load these keys on startup to authorize API requests.
+It contains key-value pairs in the format:`api_key:api_secret`.
+Each line specifies an API key and its associated secret.
+"""
 
 
 bootstrap_file.label:
 bootstrap_file.label:
 """Initialize api_key file."""
 """Initialize api_key file."""