Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b71b41c

Browse files
Fix a typo in docs and in some warnings (#13538)
1 parent d75512d commit b71b41c

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

changelog.d/13538.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the doc and some warnings that were referring to the nonexistent `custom_templates_directory` setting (instead of `custom_template_directory`).

docs/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ in, allowing them to specify custom templates:
99

1010
```yaml
1111
templates:
12-
custom_templates_directory: /path/to/custom/templates/
12+
custom_template_directory: /path/to/custom/templates/
1313
```
1414
1515
If this setting is not set, or the files named below are not found within the directory,

synapse/config/account_validity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This server's configuration file is using the deprecated 'template_dir' setting in the
2424
'account_validity' section. Support for this setting has been deprecated and will be
2525
removed in a future version of Synapse. Server admins should instead use the new
26-
'custom_templates_directory' setting documented here:
26+
'custom_template_directory' setting documented here:
2727
https://matrix-org.github.io/synapse/latest/templates.html
2828
---------------------------------------------------------------------------------------"""
2929

synapse/config/emailconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
This server's configuration file is using the deprecated 'template_dir' setting in the
5454
'email' section. Support for this setting has been deprecated and will be removed in a
5555
future version of Synapse. Server admins should instead use the new
56-
'custom_templates_directory' setting documented here:
56+
'custom_template_directory' setting documented here:
5757
https://matrix-org.github.io/synapse/latest/templates.html
5858
---------------------------------------------------------------------------------------"""
5959

synapse/config/sso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
This server's configuration file is using the deprecated 'template_dir' setting in the
2727
'sso' section. Support for this setting has been deprecated and will be removed in a
2828
future version of Synapse. Server admins should instead use the new
29-
'custom_templates_directory' setting documented here:
29+
'custom_template_directory' setting documented here:
3030
https://matrix-org.github.io/synapse/latest/templates.html
3131
---------------------------------------------------------------------------------------"""
3232

0 commit comments

Comments
 (0)