Update API Reference page menu name and order

This commit is contained in:
Badlop 2021-08-18 16:40:13 +02:00
parent 7e9c9703dd
commit 8af66b0831
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ generate_md_output(File, RegExp, Languages) ->
end, Cmds2),
Cmds4 = [maybe_add_policy_arguments(Cmd) || Cmd <- Cmds3],
Langs = binary:split(Languages, <<",">>, [global]),
Header = <<"---\ntitle: Administration API reference\ntoc: true\nmenu: Administration API\norder: 40\n"
Header = <<"---\ntitle: Administration API reference\ntoc: true\nmenu: API Reference\norder: 1\n"
"// Autogenerated with 'ejabberdctl gen_markdown_doc_for_commands'\n---\n\n"
"This section describes API of ejabberd.">>,
Out = lists:map(fun(C) -> gen_doc(C, false, Langs) end, Cmds4),