1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

Fix documentation links to new URLs generated by MkDocs

This commit is contained in:
Badlop 2024-03-13 17:50:08 +01:00
parent 832588f861
commit a550a1c55c
6 changed files with 7 additions and 7 deletions

View file

@ -256,9 +256,9 @@ mod_doc() ->
?T("Several options were improved in ejabberd 22.05."), "", ?T("Several options were improved in ejabberd 22.05."), "",
?T("To use this module, in addition to adding it to the 'modules' " ?T("To use this module, in addition to adding it to the 'modules' "
"section, you must also enable it in 'listen' -> 'ejabberd_http' -> " "section, you must also enable it in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers]."), "", "http://../listen-options/#request_handlers[request_handlers]."), "",
?T("Make sure either 'mod_bosh' or 'ejabberd_http_ws' " ?T("Make sure either 'mod_bosh' or 'ejabberd_http_ws' "
"http://../listen-options/#request-handlers[request_handlers] " "http://../listen-options/#request_handlers[request_handlers] "
"are enabled."), "", "are enabled."), "",
?T("When 'conversejs_css' and 'conversejs_script' are 'auto', " ?T("When 'conversejs_css' and 'conversejs_script' are 'auto', "
"by default they point to the public Converse client.") "by default they point to the public Converse client.")

View file

@ -214,7 +214,7 @@ mod_doc() ->
?T("This module is available since ejabberd 22.05."), "", ?T("This module is available since ejabberd 22.05."), "",
?T("To use this module, in addition to adding it to the 'modules' " ?T("To use this module, in addition to adding it to the 'modules' "
"section, you must also enable it in 'listen' -> 'ejabberd_http' -> " "section, you must also enable it in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers]."), "", "http://../listen-options/#request_handlers[request_handlers]."), "",
?T("Notice it only works if ejabberd_http has tls enabled.")], ?T("Notice it only works if ejabberd_http has tls enabled.")],
example => example =>
["listen:", ["listen:",

View file

@ -538,7 +538,7 @@ mod_doc() ->
"commands using JSON data."), "", "commands using JSON data."), "",
?T("To use this module, in addition to adding it to the 'modules' " ?T("To use this module, in addition to adding it to the 'modules' "
"section, you must also enable it in 'listen' -> 'ejabberd_http' -> " "section, you must also enable it in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers]."), "", "http://../listen-options/#request_handlers[request_handlers]."), "",
?T("To use a specific API version N, when defining the URL path " ?T("To use a specific API version N, when defining the URL path "
"in the request_handlers, add a 'vN'. " "in the request_handlers, add a 'vN'. "
"For example: '/api/v2: mod_http_api'"), "", "For example: '/api/v2: mod_http_api'"), "",

View file

@ -234,7 +234,7 @@ mod_doc() ->
"another URL from which that file can later be downloaded."), "", "another URL from which that file can later be downloaded."), "",
?T("In order to use this module, it must be enabled " ?T("In order to use this module, it must be enabled "
"in 'listen' -> 'ejabberd_http' -> " "in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers].")], "http://../listen-options/#request_handlers[request_handlers].")],
opts => opts =>
[{host, [{host,
#{desc => ?T("Deprecated. Use 'hosts' instead.")}}, #{desc => ?T("Deprecated. Use 'hosts' instead.")}},

View file

@ -625,7 +625,7 @@ mod_doc() ->
"important to include the last / character in the URL, " "important to include the last / character in the URL, "
"otherwise the subpages URL will be incorrect."), "", "otherwise the subpages URL will be incorrect."), "",
?T("This module is enabled in 'listen' -> 'ejabberd_http' -> " ?T("This module is enabled in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers], " "http://../listen-options/#request_handlers[request_handlers], "
"no need to enable in 'modules'."), "no need to enable in 'modules'."),
?T("The module depends on _`mod_register`_ where all the " ?T("The module depends on _`mod_register`_ where all the "
"configuration is performed.")], "configuration is performed.")],

View file

@ -383,7 +383,7 @@ mod_doc() ->
?T("NOTE: It is not enough to just load this module. " ?T("NOTE: It is not enough to just load this module. "
"You should also configure listeners and DNS records " "You should also configure listeners and DNS records "
"properly. For details see the section about the " "properly. For details see the section about the "
"http://../listen/#ejabberd-sip[ejabberd_sip] listen module " "http://../listen/#ejabberd_sip[ejabberd_sip] listen module "
"in the ejabberd Documentation.")], "in the ejabberd Documentation.")],
opts => opts =>
[{always_record_route, [{always_record_route,