summaryrefslogtreecommitdiff
path: root/src/mod_private.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_private.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_private.erl')
-rw-r--r--src/mod_private.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mod_private.erl b/src/mod_private.erl
index 36f1e8d2..436aae22 100644
--- a/src/mod_private.erl
+++ b/src/mod_private.erl
@@ -128,23 +128,23 @@ mod_doc() ->
[{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.")}}]}.
-spec get_sm_features({error, stanza_error()} | empty | {result, [binary()]},
jid(), jid(), binary(), binary()) ->