summary refs log tree commit diff
diff options
context:
space:
mode:
-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: {}
             """