docs: fix spellcheck

This commit is contained in:
Zaiming (Stone) Shi 2022-03-22 14:07:51 +01:00
parent 7a9ad86574
commit f08c317939
1 changed files with 6 additions and 6 deletions

View File

@ -208,7 +208,7 @@ roots(low) ->
sc( sc(
ref("conn_congestion"), ref("conn_congestion"),
#{ #{
desc => "Congession alarm settings" desc => "Congestion alarm settings"
} }
)}, )},
{"stats", {"stats",
@ -217,8 +217,8 @@ roots(low) ->
#{ #{
desc => desc =>
"Enable/disable statistic data collection.\n" "Enable/disable statistic data collection.\n"
"Statistic data such as message receive/send count/rate etc." "Statistic data such as message receive/send count/rate etc. "
"can provide insights of system performance and help to diagnose issues." "It provides insights of system performance and helps to diagnose issues. "
"You can find statistic data from the dashboard, or from the '/stats' API." "You can find statistic data from the dashboard, or from the '/stats' API."
} }
)}, )},
@ -307,7 +307,7 @@ fields("persistent_session_store") ->
default => "1m", default => "1m",
desc => desc =>
"The starting interval for garbage collection of transient data for\n" "The starting interval for garbage collection of transient data for\n"
"persistent session messages. This does not affect the life time length\n" "persistent session messages. This does not affect the lifetime length\n"
"of persistent session messages.\n" "of persistent session messages.\n"
} }
)} )}
@ -1819,7 +1819,7 @@ ref(Module, Field) -> hoconsc:ref(Module, Field).
mk_duration(Desc, OverrideMeta) -> mk_duration(Desc, OverrideMeta) ->
DefaultMeta = #{ DefaultMeta = #{
desc => Desc ++ desc => Desc ++
"time span. A text string with number followed by time units:\n" " time span. A text string with number followed by time units:\n"
"- `ms` for milliseconds,\n" "- `ms` for milliseconds,\n"
"- `s` for seconds,\n" "- `s` for seconds,\n"
"- `m` for minutes,\n" "- `m` for minutes,\n"
@ -2004,7 +2004,7 @@ authentication(Desc) ->
end, end,
desc => iolist_to_binary([ desc => iolist_to_binary([
Desc, Desc,
"Authentication can be one single authenticator instance or a chain of " "\nAuthentication can be one single authenticator instance or a chain of "
"authenticators as an array.\n" "authenticators as an array.\n"
"When authenticating a login (username, client ID, etc.) " "When authenticating a login (username, client ID, etc.) "
"the authenticators are checked in the configured order.<br>\n" "the authenticators are checked in the configured order.<br>\n"