Merge pull request #11323 from zhongwencool/remove-zone-related-doc

chore: remove zone desc from document
This commit is contained in:
JianBo He 2023-07-21 17:20:07 +08:00 committed by GitHub
commit 16a8943cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 13 deletions

View File

@ -1836,9 +1836,7 @@ desc("stats") ->
desc("authorization") ->
"Settings for client authorization.";
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") ->
"Settings for the authorization cache.";
desc("zone") ->

View File

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

View File

@ -7,12 +7,11 @@ api_key.label:
"""API Key"""
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:
"""Initialize api_key file."""