diff --git a/src/mod_adhoc.erl b/src/mod_adhoc.erl index 39f03ba53..231480b3d 100644 --- a/src/mod_adhoc.erl +++ b/src/mod_adhoc.erl @@ -252,9 +252,11 @@ mod_options(_Host) -> mod_doc() -> #{desc => - ?T("This module implements https://xmpp.org/extensions/xep-0050.html" + [?T("def:ad-hoc command"), "", + ?T(": Command that can be executed by an XMPP client using XEP-0050."), "", + ?T("This module implements https://xmpp.org/extensions/xep-0050.html" "[XEP-0050: Ad-Hoc Commands]. It's an auxiliary module and is " - "only needed by some of the other modules."), + "only needed by some of the other modules.")], opts => [{report_commands_node, #{value => "true | false", diff --git a/src/mod_adhoc_api.erl b/src/mod_adhoc_api.erl index 59a4b4b5f..73c95bc10 100644 --- a/src/mod_adhoc_api.erl +++ b/src/mod_adhoc_api.erl @@ -90,7 +90,7 @@ depends(_Host, _Opts) -> mod_doc() -> #{desc => - ?T("Execute https://docs.ejabberd.im/developer/ejabberd-api/[API Commands] " + ?T("Execute (def:API commands) " "in a XMPP client using " "https://xmpp.org/extensions/xep-0050.html[XEP-0050: Ad-Hoc Commands]. " "This module requires _`mod_adhoc`_ (to execute the commands), " @@ -102,7 +102,7 @@ mod_doc() -> desc => ?T("What API version to use. " "If setting an ejabberd version, it will use the latest API " - "version that was available in that ejabberd version. " + "version that was available in that (def:c2s) ejabberd version. " "For example, setting '\"24.06\"' in this option implies '2'. " "The default value is the latest version.")}}], example =>