summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-07-02 13:20:43 +0200
committerGitHub <noreply@github.com>2021-07-02 13:20:43 +0200
commit10671da05bdb72d98aab2a8937da503abfc836fd (patch)
treee7c0797d6c483f92107594f42cb136c0a2812209
parentMove methods involving event authentication to EventAuthHandler. (#10268) (diff)
downloadsynapse-10671da05bdb72d98aab2a8937da503abfc836fd.tar.xz
Fix bad link in modules documentation (#10302)
Fix link in modules doc to point at instructions on registering a callback instead of ones on registering a web resource.
Diffstat (limited to '')
-rw-r--r--changelog.d/10302.doc1
-rw-r--r--docs/modules.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/10302.doc b/changelog.d/10302.doc
new file mode 100644
index 0000000000..7386817de7
--- /dev/null
+++ b/changelog.d/10302.doc
@@ -0,0 +1 @@
+Fix link pointing at the wrong section in the modules documentation page.
diff --git a/docs/modules.md b/docs/modules.md
index 3a9fab61b8..bec1c06d15 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -194,7 +194,7 @@ In order to port a module that uses Synapse's old module interface, its author n
 
 * ensure the module's callbacks are all asynchronous.
 * register their callbacks using one or more of the `register_[...]_callbacks` methods
-  from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-web-resource)
+  from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-callback)
   for more info).
 
 Additionally, if the module is packaged with an additional web resource, the module