Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 10671da

Browse files
authored
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.
1 parent 8d60943 commit 10671da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/10302.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix link pointing at the wrong section in the modules documentation page.

docs/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ In order to port a module that uses Synapse's old module interface, its author n
194194

195195
* ensure the module's callbacks are all asynchronous.
196196
* register their callbacks using one or more of the `register_[...]_callbacks` methods
197-
from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-web-resource)
197+
from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-callback)
198198
for more info).
199199

200200
Additionally, if the module is packaged with an additional web resource, the module

0 commit comments

Comments
 (0)