1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

Fix some documentation syntax, add links to toplevel, modules and API

This commit is contained in:
Badlop 2024-12-05 16:42:46 +01:00
parent e589265921
commit f3c935d2e1
19 changed files with 116 additions and 99 deletions

View file

@ -561,10 +561,10 @@ mod_doc() ->
"section, you must also enable it in 'listen' -> 'ejabberd_http' -> "
"_`listen-options.md#request_handlers|request_handlers`_."), "",
?T("To use a specific API version N, when defining the URL path "
"in the request_handlers, add a 'vN'. "
"For example: '/api/v2: mod_http_api'"), "",
"in the request_handlers, add a vN. "
"For example: '/api/v2: mod_http_api'."), "",
?T("To run a command, send a POST request to the corresponding "
"URL: 'http://localhost:5280/api/<command_name>'")],
"URL: 'http://localhost:5280/api/COMMAND-NAME'")],
example =>
["listen:",
" -",