aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-08-23 13:53:54 +0200
committerBadlop <badlop@process-one.net>2021-08-23 14:04:52 +0200
commitac4f2402610e9c494421a443c7f765dc2fe074c1 (patch)
tree78febd94a619557f455ae6831d3884dcddaae914
parentUse specific syntax so modules and top-level will be links (diff)
Produce module names with specific syntax, docs Makefile will convert to links
-rw-r--r--src/ejabberd_commands_doc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_commands_doc.erl b/src/ejabberd_commands_doc.erl
index f63326182..b2be8a6a6 100644
--- a/src/ejabberd_commands_doc.erl
+++ b/src/ejabberd_commands_doc.erl
@@ -396,7 +396,7 @@ gen_doc(#ejabberd_commands{name=Name, tags=Tags, desc=Desc, longdesc=LongDesc,
end,
ModuleText = case IsDefinerMod of
true ->
- [?TAG(h2, <<"Module:">>), ?TAG(p, ?RAW(atom_to_list(Definer)))];
+ [?TAG(h2, <<"Module:">>), ?TAG(p, ?RAW("*`"++atom_to_list(Definer)++"`*"))];
false ->
[]
end,