From cd7eedf589d2ecaf50f7558abc0390501ef920ad Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 22 Mar 2024 11:15:11 +0100 Subject: [PATCH] Update API to mkdocs --- src/ejabberd_commands_doc.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl index bbb4bffc5..2b26b4800 100644 --- a/src/ejabberd_commands_doc.erl +++ b/src/ejabberd_commands_doc.erl @@ -87,7 +87,7 @@ md_tag(h2, V) -> md_tag(strong, V) -> [<<"*">>, V, <<"*">>]; md_tag('div', V) -> - [<<"*Note* about the next option: ">>, V]; + [<<"*Note* about this command: ">>, V, <<".">>]; md_tag(_, V) -> V. @@ -415,8 +415,8 @@ gen_doc(#ejabberd_commands{name=Name, tags=Tags, desc=Desc, longdesc=LongDesc, true -> {NoteEl, []} end, - [NotePre, - ?TAG(h1, atom_to_list(Name)), + [?TAG(h1, atom_to_list(Name)), + NotePre, ?TAG(p, ?RAW(Desc)), case LongDesc of "" -> [];