mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Improve markdown of generated documentation
This commit is contained in:
parent
d8cdd82bf8
commit
45ca11ecd0
@ -170,7 +170,7 @@ get_commands_spec() ->
|
|||||||
#ejabberd_commands{name = delete_old_users, tags = [accounts, purge],
|
#ejabberd_commands{name = delete_old_users, tags = [accounts, purge],
|
||||||
desc = "Delete users that didn't log in last days, or that never logged",
|
desc = "Delete users that didn't log in last days, or that never logged",
|
||||||
longdesc = "To protect admin accounts, configure this for example:\n"
|
longdesc = "To protect admin accounts, configure this for example:\n"
|
||||||
"```\n"
|
"``` yaml\n"
|
||||||
"access_rules:\n"
|
"access_rules:\n"
|
||||||
" protect_old_users:\n"
|
" protect_old_users:\n"
|
||||||
" - allow: admin\n"
|
" - allow: admin\n"
|
||||||
@ -186,7 +186,7 @@ get_commands_spec() ->
|
|||||||
#ejabberd_commands{name = delete_old_users_vhost, tags = [accounts, purge],
|
#ejabberd_commands{name = delete_old_users_vhost, tags = [accounts, purge],
|
||||||
desc = "Delete users that didn't log in last days in vhost, or that never logged",
|
desc = "Delete users that didn't log in last days in vhost, or that never logged",
|
||||||
longdesc = "To protect admin accounts, configure this for example:\n"
|
longdesc = "To protect admin accounts, configure this for example:\n"
|
||||||
"```\n"
|
"``` yaml\n"
|
||||||
"access_rules:\n"
|
"access_rules:\n"
|
||||||
" delete_old_users:\n"
|
" delete_old_users:\n"
|
||||||
" - deny: admin\n"
|
" - deny: admin\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user