aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-02 18:24:36 +0100
committerBadlop <badlop@process-one.net>2022-02-03 18:21:53 +0100
commit25e0326f87875f81377ea45bbf29b32e85635894 (patch)
treef7639a90cbce266ddf5398ebb204965da2b99f18
parentUse the same wording in all the identical options db_type and ram_db_type (diff)
Improve explanation of s2s_access option. Add link to access_rules option
-rw-r--r--src/ejabberd_options_doc.erl11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl
index ffb4caf32..47a89469d 100644
--- a/src/ejabberd_options_doc.erl
+++ b/src/ejabberd_options_doc.erl
@@ -220,7 +220,9 @@ doc() ->
{access_rules,
#{value => "{AccessName: {allow|deny: ACLRules|ACLName}}",
desc =>
- ?T("The option specifies access rules. Each access rule is "
+ ?T("This option defines "
+ "http://../basic/#access-rules[Access Rules]. "
+ "Each access rule is "
"assigned a name that can be referenced from other parts "
"of the configuration file (mostly from 'access' options of "
"ejabberd modules). Each rule definition may contain "
@@ -1083,9 +1085,10 @@ doc() ->
{s2s_access,
#{value => ?T("Access"),
desc =>
- ?T("The access rule to restrict server-to-server connections. "
- "The default value is 'all' which means no restrictions "
- "are applied.")}},
+ ?T("This http://../basic/#access-rules[Access Rule] defines to "
+ "what remote servers can s2s connections be established. "
+ "The default value is 'all'; no restrictions are applied, it is"
+ " allowed to connect s2s to/from all remote servers.")}},
{s2s_cafile,
#{value => ?T("Path"),
desc =>