summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Matthias Schäfer <philipp.matthias.schaefer@posteo.de>2022-01-05 13:16:52 +0100
committerGitHub <noreply@github.com>2022-01-05 12:16:52 +0000
commiteedb4527f1524fc3b83cd4838774b04d6f1e3911 (patch)
treee1537052779bd52dbad3d5df6ede2714c8ff4bf9
parentFix SimpleHttpClient not sending Accept header in `get_json` (#11677) (diff)
downloadsynapse-eedb4527f1524fc3b83cd4838774b04d6f1e3911.tar.xz
Fix link from generated configuration file to documentation (#11678)
Co-authored-by: reivilibre <olivier@librepush.net>
Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to '')
-rw-r--r--changelog.d/11678.doc1
-rw-r--r--docs/sample_config.yaml2
-rw-r--r--synapse/config/modules.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/11678.doc b/changelog.d/11678.doc
new file mode 100644
index 0000000000..dff663e782
--- /dev/null
+++ b/changelog.d/11678.doc
@@ -0,0 +1 @@
+Fix the documentation link in newly-generated configuration files.
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 00dfd2c013..810a14b077 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -37,7 +37,7 @@
 
 # Server admins can expand Synapse's functionality with external modules.
 #
-# See https://matrix-org.github.io/synapse/latest/modules.html for more
+# See https://matrix-org.github.io/synapse/latest/modules/index.html for more
 # documentation on how to configure or create custom modules for Synapse.
 #
 modules:
diff --git a/synapse/config/modules.py b/synapse/config/modules.py
index ae0821e5a5..85fb05890d 100644
--- a/synapse/config/modules.py
+++ b/synapse/config/modules.py
@@ -37,7 +37,7 @@ class ModulesConfig(Config):
 
             # Server admins can expand Synapse's functionality with external modules.
             #
-            # See https://matrix-org.github.io/synapse/latest/modules.html for more
+            # See https://matrix-org.github.io/synapse/latest/modules/index.html for more
             # documentation on how to configure or create custom modules for Synapse.
             #
             modules: