Browse Source

Fix link from generated configuration file to documentation (#11678)

Co-authored-by: reivilibre <olivier@librepush.net>
Co-authored-by: reivilibre <oliverw@matrix.org>
Philipp Matthias Schäfer 2 years ago
parent
commit
eedb4527f1
3 changed files with 3 additions and 2 deletions
  1. 1 0
      changelog.d/11678.doc
  2. 1 1
      docs/sample_config.yaml
  3. 1 1
      synapse/config/modules.py

+ 1 - 0
changelog.d/11678.doc

@@ -0,0 +1 @@
+Fix the documentation link in newly-generated configuration files.

+ 1 - 1
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:

+ 1 - 1
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: