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

Make it clearer that the template dir is relative to synapse's root dir #5543

Merged
merged 11 commits into from
Jun 27, 2019
1 change: 1 addition & 0 deletions changelog.d/5543.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make the config clearer in that email.template_dir is relative to the Synapse's root directory, not the `synapse/` folder within it.
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ password_config:
# # Template directory. All template files should be stored within this
# # directory
# #
# #template_dir: res/templates
# #template_dir: synapse/res/templates
#
# # Templates for email notifications
# #
Expand Down
2 changes: 1 addition & 1 deletion synapse/config/emailconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def default_config(self, config_dir_path, server_name, **kwargs):
# # Template directory. All template files should be stored within this
# # directory
# #
# #template_dir: res/templates
# #template_dir: synapse/res/templates
richvdh marked this conversation as resolved.
Show resolved Hide resolved
#
# # Templates for email notifications
# #
Expand Down