25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Update API to mkdocs

This commit is contained in:
Badlop 2024-03-22 11:15:11 +01:00
parent 27bd8852a1
commit cd7eedf589

View File

@ -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
"" -> [];