diff --git a/src/mod_conversejs.erl b/src/mod_conversejs.erl index f2dcf43b8..2d3af544e 100644 --- a/src/mod_conversejs.erl +++ b/src/mod_conversejs.erl @@ -252,8 +252,6 @@ mod_doc() -> #{desc => [?T("This module serves a simple page for the " "https://conversejs.org/[Converse] XMPP web browser client."), "", - ?T("This module is available since ejabberd 21.12."), - ?T("Several options were improved in ejabberd 22.05."), "", ?T("To use this module, in addition to adding it to the 'modules' " "section, you must also enable it in 'listen' -> 'ejabberd_http' -> " "_`listen-options.md#request_handlers|request_handlers`_."), "", @@ -263,6 +261,7 @@ mod_doc() -> ?T("When 'conversejs_css' and 'conversejs_script' are 'auto', " "by default they point to the public Converse client.") ], + note => "added in 21.12 and improved in 22.05", example => [{?T("Manually setup WebSocket url, and use the public Converse client:"), ["listen:", diff --git a/src/mod_host_meta.erl b/src/mod_host_meta.erl index 7be3e81fe..484127443 100644 --- a/src/mod_host_meta.erl +++ b/src/mod_host_meta.erl @@ -211,11 +211,11 @@ mod_doc() -> [?T("This module serves small 'host-meta' files as described in " "https://xmpp.org/extensions/xep-0156.html[XEP-0156: Discovering " "Alternative XMPP Connection Methods]."), "", - ?T("This module is available since ejabberd 22.05."), "", ?T("To use this module, in addition to adding it to the 'modules' " "section, you must also enable it in 'listen' -> 'ejabberd_http' -> " "_`listen-options.md#request_handlers|request_handlers`_."), "", ?T("Notice it only works if ejabberd_http has tls enabled.")], + note => "added in 22.05", example => ["listen:", " -", diff --git a/src/mod_matrix_gw.erl b/src/mod_matrix_gw.erl index 0e7010913..46c5dbcfc 100644 --- a/src/mod_matrix_gw.erl +++ b/src/mod_matrix_gw.erl @@ -884,8 +884,8 @@ mod_options(Host) -> mod_doc() -> #{desc => - [?T("https://matrix.org/[Matrix] gateway."), "", - ?T("This module is available since ejabberd 24.02.")], + [?T("https://matrix.org/[Matrix] gateway.")], + note => "added in 24.02", example => ["listen:", " -", diff --git a/src/mod_mix.erl b/src/mod_mix.erl index 57e78dbc2..1c570c37f 100644 --- a/src/mod_mix.erl +++ b/src/mod_mix.erl @@ -102,14 +102,13 @@ mod_doc() -> [?T("This module is an experimental implementation of " "https://xmpp.org/extensions/xep-0369.html" "[XEP-0369: Mediated Information eXchange (MIX)]. " - "MIX support was added in ejabberd 16.03 as an " - "experimental feature, updated in 19.02, and is not " - "yet ready to use in production. It's asserted that " + "It's asserted that " "the MIX protocol is going to replace the MUC protocol " "in the future (see _`mod_muc`_)."), "", ?T("To learn more about how to use that feature, you can refer to " "our tutorial: _`../../tutorials/mix-010.md|Getting started with MIX`_"), "", ?T("The module depends on _`mod_mam`_.")], + note => "added in 16.03 and improved in 19.02", opts => [{access_create, #{value => ?T("AccessName"), diff --git a/src/mod_muc_occupantid.erl b/src/mod_muc_occupantid.erl index 8e77882ea..fabd69e28 100644 --- a/src/mod_muc_occupantid.erl +++ b/src/mod_muc_occupantid.erl @@ -120,8 +120,8 @@ mod_doc() -> "https://xmpp.org/extensions/xep-0421.html" "[XEP-0421: Anonymous unique occupant identifiers for MUCs]."), "", ?T("When the module is enabled, the feature is enabled " - "in all semi-anonymous rooms."), "", - ?T("This module is available since ejabberd 23.10.")] + "in all semi-anonymous rooms.")], + note => "added in 23.10" }. depends(_, _) -> diff --git a/src/mod_muc_rtbl.erl b/src/mod_muc_rtbl.erl index 3a616fff7..93e13fbb3 100644 --- a/src/mod_muc_rtbl.erl +++ b/src/mod_muc_rtbl.erl @@ -264,8 +264,8 @@ mod_doc() -> #{desc => [?T("This module implement Real-time blocklists for MUC rooms."), "", ?T("It works by observing remote pubsub node conforming with " - "specification described in https://xmppbl.org/."), "", - ?T("This module is available since ejabberd 23.04.")], + "specification described in https://xmppbl.org/.")], + note => "added in 23.04", opts => [{rtbl_server, #{value => ?T("Domain"), diff --git a/src/mod_stun_disco.erl b/src/mod_stun_disco.erl index 3021ac217..8d2d6d58c 100644 --- a/src/mod_stun_disco.erl +++ b/src/mod_stun_disco.erl @@ -159,8 +159,8 @@ mod_doc() -> ?T("This module allows XMPP clients to discover STUN/TURN services " "and to obtain temporary credentials for using them as per " "https://xmpp.org/extensions/xep-0215.html" - "[XEP-0215: External Service Discovery]. " - "This module is included in ejabberd since version 20.04."), + "[XEP-0215: External Service Discovery]."), + note => "added in 20.04", opts => [{access, #{value => ?T("AccessName"),