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

Fix YAML parsing error in url_preview_accept_language #12785

Merged
merged 3 commits into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12785.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix invalid YAML syntax in the example documentation for the `url_preview_accept_language` config option.
12 changes: 6 additions & 6 deletions docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1194,15 +1194,15 @@ For more information on using Synapse with Postgres,
see [here](../../postgres.md).

Example SQLite configuration:
```
```yaml
database:
name: sqlite3
args:
database: /path/to/homeserver.db
```

Example Postgres configuration:
```
```yaml
database:
name: psycopg2
txn_limit: 10000
Expand Down Expand Up @@ -1679,10 +1679,10 @@ Defaults to "en".
Example configuration:
```yaml
url_preview_accept_language:
- en-UK
- en-US;q=0.9
- fr;q=0.8
- *;q=0.7
- 'en-UK'
- 'en-US;q=0.9'
- 'fr;q=0.8'
- '*;q=0.7'
```
----
Config option: `oembed`
Expand Down