mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Use the same leading sentence than other sections
This commit is contained in:
parent
3bf7fbc117
commit
80a502782b
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ generate_md_output(File, RegExp, Languages) ->
|
||||||
Langs = binary:split(Languages, <<",">>, [global]),
|
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: Administration API\norder: 40\n"
|
||||||
"// Autogenerated with 'ejabberdctl gen_markdown_doc_for_commands'\n---\n\n"
|
"// Autogenerated with 'ejabberdctl gen_markdown_doc_for_commands'\n---\n\n"
|
||||||
"This page documents API of ejabberd version ", (ejabberd_option:version())/binary>>,
|
"This section describes API of ejabberd version ", (ejabberd_option:version())/binary>>,
|
||||||
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]),
|
||||||
io:format(Fh, "~ts~ts", [Header, Out]),
|
io:format(Fh, "~ts~ts", [Header, Out]),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue