summary refs log tree commit diff
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-01-27 11:06:29 +0100
committerGitHub <noreply@github.com>2022-01-27 10:06:29 +0000
commitfd65139714433763e8ef5be6017ab6ba5988e766 (patch)
tree150d3149bfb92c0868409464cc9cc18d6d789cfa
parentUpdate installation docs to indicate that we support Python 3.10 (#11820) (diff)
downloadsynapse-fd65139714433763e8ef5be6017ab6ba5988e766.tar.xz
Fix some indentation inconsistencies in the sample config (modules) (#11838)
Diffstat (limited to '')
-rw-r--r--changelog.d/11838.misc1
-rw-r--r--docs/sample_config.yaml10
-rw-r--r--synapse/config/modules.py10
3 files changed, 11 insertions, 10 deletions
diff --git a/changelog.d/11838.misc b/changelog.d/11838.misc
new file mode 100644
index 0000000000..4747bbe88b
--- /dev/null
+++ b/changelog.d/11838.misc
@@ -0,0 +1 @@
+Fix some indentation inconsistencies in the sample config.
\ No newline at end of file
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index b38e6d6c88..abf28e4490 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -41,11 +41,11 @@
 # documentation on how to configure or create custom modules for Synapse.
 #
 modules:
-    # - module: my_super_module.MySuperClass
-    #   config:
-    #       do_thing: true
-    # - module: my_other_super_module.SomeClass
-    #   config: {}
+  #- module: my_super_module.MySuperClass
+  #  config:
+  #    do_thing: true
+  #- module: my_other_super_module.SomeClass
+  #  config: {}
 
 
 ## Server ##
diff --git a/synapse/config/modules.py b/synapse/config/modules.py
index 85fb05890d..2ef02b8f55 100644
--- a/synapse/config/modules.py
+++ b/synapse/config/modules.py
@@ -41,9 +41,9 @@ class ModulesConfig(Config):
             # documentation on how to configure or create custom modules for Synapse.
             #
             modules:
-                # - module: my_super_module.MySuperClass
-                #   config:
-                #       do_thing: true
-                # - module: my_other_super_module.SomeClass
-                #   config: {}
+              #- module: my_super_module.MySuperClass
+              #  config:
+              #    do_thing: true
+              #- module: my_other_super_module.SomeClass
+              #  config: {}
             """