summary refs log tree commit diff
diff options
context:
space:
mode:
-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