mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
Fix a typo in docs and in some warnings (#13538)
This commit is contained in:
parent
d75512d19e
commit
b71b41c7bd
5 changed files with 5 additions and 4 deletions
1
changelog.d/13538.doc
Normal file
1
changelog.d/13538.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix the doc and some warnings that were referring to the nonexistent `custom_templates_directory` setting (instead of `custom_template_directory`).
|
|
@ -9,7 +9,7 @@ in, allowing them to specify custom templates:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
templates:
|
templates:
|
||||||
custom_templates_directory: /path/to/custom/templates/
|
custom_template_directory: /path/to/custom/templates/
|
||||||
```
|
```
|
||||||
|
|
||||||
If this setting is not set, or the files named below are not found within the directory,
|
If this setting is not set, or the files named below are not found within the directory,
|
||||||
|
|
|
@ -23,7 +23,7 @@ LEGACY_TEMPLATE_DIR_WARNING = """
|
||||||
This server's configuration file is using the deprecated 'template_dir' setting in the
|
This server's configuration file is using the deprecated 'template_dir' setting in the
|
||||||
'account_validity' section. Support for this setting has been deprecated and will be
|
'account_validity' section. Support for this setting has been deprecated and will be
|
||||||
removed in a future version of Synapse. Server admins should instead use the new
|
removed in a future version of Synapse. Server admins should instead use the new
|
||||||
'custom_templates_directory' setting documented here:
|
'custom_template_directory' setting documented here:
|
||||||
https://matrix-org.github.io/synapse/latest/templates.html
|
https://matrix-org.github.io/synapse/latest/templates.html
|
||||||
---------------------------------------------------------------------------------------"""
|
---------------------------------------------------------------------------------------"""
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ LEGACY_TEMPLATE_DIR_WARNING = """
|
||||||
This server's configuration file is using the deprecated 'template_dir' setting in the
|
This server's configuration file is using the deprecated 'template_dir' setting in the
|
||||||
'email' section. Support for this setting has been deprecated and will be removed in a
|
'email' section. Support for this setting has been deprecated and will be removed in a
|
||||||
future version of Synapse. Server admins should instead use the new
|
future version of Synapse. Server admins should instead use the new
|
||||||
'custom_templates_directory' setting documented here:
|
'custom_template_directory' setting documented here:
|
||||||
https://matrix-org.github.io/synapse/latest/templates.html
|
https://matrix-org.github.io/synapse/latest/templates.html
|
||||||
---------------------------------------------------------------------------------------"""
|
---------------------------------------------------------------------------------------"""
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ LEGACY_TEMPLATE_DIR_WARNING = """
|
||||||
This server's configuration file is using the deprecated 'template_dir' setting in the
|
This server's configuration file is using the deprecated 'template_dir' setting in the
|
||||||
'sso' section. Support for this setting has been deprecated and will be removed in a
|
'sso' section. Support for this setting has been deprecated and will be removed in a
|
||||||
future version of Synapse. Server admins should instead use the new
|
future version of Synapse. Server admins should instead use the new
|
||||||
'custom_templates_directory' setting documented here:
|
'custom_template_directory' setting documented here:
|
||||||
https://matrix-org.github.io/synapse/latest/templates.html
|
https://matrix-org.github.io/synapse/latest/templates.html
|
||||||
---------------------------------------------------------------------------------------"""
|
---------------------------------------------------------------------------------------"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue