From c98302b3c0c0f3c6bca5a683b08538832d6c9ccc Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 28 Mar 2024 00:13:28 +0100 Subject: [PATCH] Now modules themselves can have version annotations in 'note' This was already supported in module options, toplevel options and ejabberd_commands. --- src/gen_mod.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gen_mod.erl b/src/gen_mod.erl index 21cb166bc..908755b99 100644 --- a/src/gen_mod.erl +++ b/src/gen_mod.erl @@ -74,6 +74,7 @@ -callback mod_opt_type(atom()) -> econf:validator(). -callback mod_options(binary()) -> [{atom(), term()} | atom()]. -callback mod_doc() -> #{desc => binary() | [binary()], + note => string(), opts => [opt_doc()], example => [string()] | [{binary(), [string()]}]}. -callback depends(binary(), opts()) -> [{module(), hard | soft}].