summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-02-09 13:18:01 +0100
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-02-09 13:18:01 +0100
commitc0da9b43ceb12f95d400fa1ab998258db73600de (patch)
tree228c95d8677b1b96af0d79b787c132117c530b14 /src
parentStart documenting arguments in mod_admin_extra commands (diff)
Better presentation of result description in docs
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_commands_doc.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl
index e9054143..df4ba9df 100644
--- a/src/ejabberd_commands_doc.erl
+++ b/src/ejabberd_commands_doc.erl
@@ -360,8 +360,9 @@ gen_doc(#ejabberd_commands{name=Name, tags=_Tags, desc=Desc, longdesc=LongDesc,
none ->
[?RAW(io_lib:format("~p", [Result]))];
_ ->
- [?RAW(io_lib:format("~p", [Result])),
- ?TAG_R(p, ResultDesc)]
+ [?TAG(dl, [
+ ?TAG(dt, io_lib:format("~p", [Result])),
+ ?TAG_R(dd, ResultDesc)])]
end,
[?TAG(h1, [?TAG(strong, atom_to_list(Name)), <<" - ">>, ?RAW(Desc)]),