mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-30 17:43:57 +01:00
Better presentation of result description in docs
This commit is contained in:
parent
30d171e79e
commit
c0da9b43ce
@ -360,8 +360,9 @@ gen_doc(#ejabberd_commands{name=Name, tags=_Tags, desc=Desc, longdesc=LongDesc,
|
|||||||
none ->
|
none ->
|
||||||
[?RAW(io_lib:format("~p", [Result]))];
|
[?RAW(io_lib:format("~p", [Result]))];
|
||||||
_ ->
|
_ ->
|
||||||
[?RAW(io_lib:format("~p", [Result])),
|
[?TAG(dl, [
|
||||||
?TAG_R(p, ResultDesc)]
|
?TAG(dt, io_lib:format("~p", [Result])),
|
||||||
|
?TAG_R(dd, ResultDesc)])]
|
||||||
end,
|
end,
|
||||||
|
|
||||||
[?TAG(h1, [?TAG(strong, atom_to_list(Name)), <<" - ">>, ?RAW(Desc)]),
|
[?TAG(h1, [?TAG(strong, atom_to_list(Name)), <<" - ">>, ?RAW(Desc)]),
|
||||||
|
Loading…
Reference in New Issue
Block a user