Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
0fce474a
Unverified
Commit
0fce474a
authored
2 years ago
by
Andrew Morgan
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix YAML parsing error in `url_preview_accept_language` (#12785)
parent
19d79b6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/12785.doc
+1
-0
1 addition, 0 deletions
changelog.d/12785.doc
docs/usage/configuration/config_documentation.md
+6
-6
6 additions, 6 deletions
docs/usage/configuration/config_documentation.md
with
7 additions
and
6 deletions
changelog.d/12785.doc
0 → 100644
+
1
−
0
View file @
0fce474a
Fix invalid YAML syntax in the example documentation for the `url_preview_accept_language` config option.
This diff is collapsed.
Click to expand it.
docs/usage/configuration/config_documentation.md
+
6
−
6
View file @
0fce474a
...
@@ -1194,7 +1194,7 @@ For more information on using Synapse with Postgres,
...
@@ -1194,7 +1194,7 @@ For more information on using Synapse with Postgres,
see
[
here
](
../../postgres.md
)
.
see
[
here
](
../../postgres.md
)
.
Example SQLite configuration:
Example SQLite configuration:
```
```
yaml
database
:
database
:
name
:
sqlite3
name
:
sqlite3
args
:
args
:
...
@@ -1202,7 +1202,7 @@ database:
...
@@ -1202,7 +1202,7 @@ database:
```
```
Example Postgres configuration:
Example Postgres configuration:
```
```
yaml
database
:
database
:
name
:
psycopg2
name
:
psycopg2
txn_limit
:
10000
txn_limit
:
10000
...
@@ -1679,10 +1679,10 @@ Defaults to "en".
...
@@ -1679,10 +1679,10 @@ Defaults to "en".
Example configuration:
Example configuration:
```
yaml
```
yaml
url_preview_accept_language
:
url_preview_accept_language
:
-
en-UK
-
'
en-UK
'
-
en-US;q=0.9
-
'
en-US;q=0.9
'
-
fr;q=0.8
-
'
fr;q=0.8
'
-
*
;q=0.7
-
'
*;q=0.7
'
```
```
----
----
Config option:
`oembed`
Config option:
`oembed`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment