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

Docs mistakenly refer to nonexistant custom_template_directory config option? #10688

@callahad

Description

@callahad

From a cursory glance, it appears that:

  1. Centralise the custom template directory #10596 added the custom_template_directory config option + docs
  2. Allow using several custom template directories #10587 renamed it to custom_template_directories but did not update the docs.

Thus, https://matrix-org.github.io/synapse/v1.41/templates.html still refers to setting it as:

templates:
  custom_templates_directory: /path/to/custom/templates/

instead of what I would expect:

templates:
  custom_templates_directories:
    - /path/to/custom/templates/

The sample_config.yaml does the same thing, and grepping turns up a few other reference to custom_template_directory which I've not investigated.

Assigning to @babolivier to tell me if I'm a crank or not.

If I'm not a crank, I'd like this to be fixed in the 1.41 release branch then merged down to develop since we're planning on a point release anyways...

Metadata

Metadata

Assignees

Labels

X-Release-BlockerMust be resolved before making a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions