Annotate options that change in ejabberd 23.01

This commit is contained in:
Badlop 2023-01-11 15:17:27 +01:00
parent 21c0aaf417
commit a70381e7c1
2 changed files with 6 additions and 4 deletions

View File

@ -455,7 +455,7 @@ doc() ->
]}},
{captcha_cmd,
#{value => ?T("Path | ModuleName"),
note => "improved in 23.xx",
note => "improved in 23.01",
desc =>
?T("Full path to a script that generates http://../basic/#captcha[CAPTCHA] images. "
"@VERSION@ is replaced with ejabberd version number in XX.YY format. "
@ -838,7 +838,7 @@ doc() ->
"by. Defaults to 1 second.")}},
{log_modules_fully,
#{value => "[Module, ...]",
note => "added in 23.xx",
note => "added in 23.01",
desc =>
?T("List of modules that will log everything "
"independently from the general loglevel option.")}},
@ -967,11 +967,12 @@ doc() ->
"The default value is '80' percents.")}},
{outgoing_s2s_families,
#{value => "[ipv6 | ipv4, ...]",
note => "changed in 23.01",
desc =>
?T("Specify which address families to try, in what order. "
"The default is '[ipv6, ipv4]' which means it first tries "
"connecting with IPv6, if that fails it tries using IPv4."
"This option is obsolete and irrelevant when using ejabberd 23.xx "
"This option is obsolete and irrelevant when using ejabberd 23.01 "
"and Erlang/OTP 22, or newer versions of them.")}},
{outgoing_s2s_ipv4_address,
#{value => "Address",

View File

@ -173,7 +173,8 @@ mod_opt_type(servers) ->
%%%===================================================================
mod_doc() ->
#{desc =>
?T("This module adds ability to replicate data from or to external servers"),
?T("This module adds ability to replicate data from or to external servers. "
"It is available since ejabberd 23.01."),
opts =>
[{servers,
#{value => "{ServerUrl: Replication informations}",