aboutsummaryrefslogtreecommitdiff
path: root/src/mod_caps.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-08-21 18:31:21 +0200
committerBadlop <badlop@process-one.net>2021-08-23 14:04:49 +0200
commit506e2f3b972a7e1b6d4fdd40836b9574c4937908 (patch)
tree2577288f11b50436c0b7ac9be5a5c5f926db69ef /src/mod_caps.erl
parentImprove formatting and add sections links (diff)
Use specific syntax so modules and top-level will be links
If we use _`whatever`_ here in ejabberd man pages, it is converted to *`whatever`* in markdown, and docs.ejabberd.im/Makefile converts to the proper links
Diffstat (limited to 'src/mod_caps.erl')
-rw-r--r--src/mod_caps.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mod_caps.erl b/src/mod_caps.erl
index 92869fc7d..c8f548169 100644
--- a/src/mod_caps.erl
+++ b/src/mod_caps.erl
@@ -595,25 +595,25 @@ mod_doc() ->
"https://xmpp.org/extensions/xep-0115.html"
"[XEP-0115: Entity Capabilities]."),
?T("The main purpose of the module is to provide "
- "PEP functionality (see 'mod_pubsub').")],
+ "PEP functionality (see _`mod_pubsub`_).")],
opts =>
[{db_type,
#{value => "mnesia | sql",
desc =>
- ?T("Same as top-level 'default_db' option, but applied to this module only.")}},
+ ?T("Same as top-level _`default_db`_ option, but applied to this module only.")}},
{use_cache,
#{value => "true | false",
desc =>
- ?T("Same as top-level 'use_cache' option, but applied to this module only.")}},
+ ?T("Same as top-level _`use_cache`_ option, but applied to this module only.")}},
{cache_size,
#{value => "pos_integer() | infinity",
desc =>
- ?T("Same as top-level 'cache_size' option, but applied to this module only.")}},
+ ?T("Same as top-level _`cache_size`_ option, but applied to this module only.")}},
{cache_missed,
#{value => "true | false",
desc =>
- ?T("Same as top-level 'cache_missed' option, but applied to this module only.")}},
+ ?T("Same as top-level _`cache_missed`_ option, but applied to this module only.")}},
{cache_life_time,
#{value => "timeout()",
desc =>
- ?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}]}.
+ ?T("Same as top-level _`cache_life_time`_ option, but applied to this module only.")}}]}.