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:
parent
effcf0b7cf
commit
27bd8852a1
@ -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]),
|
||||||
|
Loading…
Reference in New Issue
Block a user