From f61607df658eadbe30b4a3d31b582fae5097f52d Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 16 Apr 2021 10:52:21 +0200 Subject: [PATCH] Don't add ejabberd version in API page either, following 3e4ebfae7 --- src/ejabberd_commands_doc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl index ffc8ff597..4981577b6 100644 --- a/src/ejabberd_commands_doc.erl +++ b/src/ejabberd_commands_doc.erl @@ -468,7 +468,7 @@ generate_md_output(File, RegExp, Languages) -> Langs = binary:split(Languages, <<",">>, [global]), Header = <<"---\ntitle: Administration API reference\ntoc: true\nmenu: Administration API\norder: 40\n" "// Autogenerated with 'ejabberdctl gen_markdown_doc_for_commands'\n---\n\n" - "This section describes API of ejabberd version ", (ejabberd_option:version())/binary>>, + "This section describes API of ejabberd.">>, Out = lists:map(fun(C) -> gen_doc(C, false, Langs) end, Cmds4), {ok, Fh} = file:open(File, [write]), io:format(Fh, "~ts~ts", [Header, Out]),