25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01: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], Cmds4 = [maybe_add_policy_arguments(Cmd) || Cmd <- Cmds3],
Langs = binary:split(Languages, <<",">>, [global]), Langs = binary:split(Languages, <<",">>, [global]),
Version = ejabberd_config:version(), 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">>, "This section describes API of ejabberd ", Version/binary, ".\n\n">>,
Out = lists:map(fun(C) -> gen_doc(C, false, Langs) end, Cmds4), Out = lists:map(fun(C) -> gen_doc(C, false, Langs) end, Cmds4),
{ok, Fh} = file:open(File, [write]), {ok, Fh} = file:open(File, [write]),