24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02:00

Update name of API section

This commit is contained in:
Badlop 2024-03-22 11:06:09 +01:00
parent effcf0b7cf
commit 27bd8852a1

View File

@ -493,7 +493,7 @@ generate_md_output(File, RegExp, Languages, Cmds) ->
Cmds4 = [maybe_add_policy_arguments(Cmd) || Cmd <- Cmds3],
Langs = binary:split(Languages, <<",">>, [global]),
Version = ejabberd_config:version(),
Header = <<"# Administration API reference\n\n"
Header = <<"# API Reference\n\n"
"This section describes API of ejabberd ", Version/binary, ".\n\n">>,
Out = lists:map(fun(C) -> gen_doc(C, false, Langs) end, Cmds4),
{ok, Fh} = file:open(File, [write]),