diff options
author | Badlop <badlop@process-one.net> | 2020-07-03 18:25:23 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-07-06 16:39:15 +0200 |
commit | 80a502782b4195612558773d8a7874be1e77d302 (patch) | |
tree | 58074d7a5d3c147aa84974b9d0fce350b78cd153 /src | |
parent | ejabberd_stun: Filter info/debug messages (diff) |
Use the same leading sentence than other sections
Diffstat (limited to 'src')
-rw-r--r-- | src/ejabberd_commands_doc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl index 0bfdf10f6..08e496328 100644 --- a/src/ejabberd_commands_doc.erl +++ b/src/ejabberd_commands_doc.erl @@ -461,7 +461,7 @@ generate_md_output(File, RegExp, Languages) -> Langs = binary:split(Languages, <<",">>, [global]), Header = <<"---\ntitle: Administration API reference\ntoc: true\nmenu: Administration API\norder: 40\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), {ok, Fh} = file:open(File, [write]), io:format(Fh, "~ts~ts", [Header, Out]), |