From b10e7fda6ef77ec69197e0782f62c11175a183aa Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 2 Jul 2021 12:16:22 +0200 Subject: [PATCH 1/2] Fix bad link in modules documentation Fix link in modules doc to point at instructions on registering a callback instead of ones on registering a web resource. --- docs/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules.md b/docs/modules.md index 3a9fab61b8c3..bec1c06d15f4 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 From 3f9d4feaea0f71dbb8a4697234fb6d6323a00de7 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 2 Jul 2021 12:17:26 +0200 Subject: [PATCH 2/2] Changelog --- changelog.d/10302.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/10302.doc diff --git a/changelog.d/10302.doc b/changelog.d/10302.doc new file mode 100644 index 000000000000..7386817de75c --- /dev/null +++ b/changelog.d/10302.doc @@ -0,0 +1 @@ +Fix link pointing at the wrong section in the modules documentation page.