mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
admin: Add ambiguous character detection config
- Ref: https://codeberg.org/forgejo/forgejo/pulls/2427
This commit is contained in:
parent
8bc412af4c
commit
aa48cb3b99
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ The following configuration set `Content-Type: application/vnd.android.package-a
|
|||
- `SEARCH_REPO_DESCRIPTION`: **true**: Whether to search within description at repository search on explore page.
|
||||
- `ONLY_SHOW_RELEVANT_REPOS`: **false** Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
|
||||
A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
|
||||
- `AMBIGUOUS_UNICODE_DETECTION`: **true**: Detect ambiguous unicode characters in files and show warnings for it.
|
||||
- `SKIP_ESCAPE_CONTEXTS`: **\<empty\>**: \[diff, file-view, wiki\]: Comma separated list of which escape context the ambiguous unicode detection shouldn't be run in. `wiki` is for content on the wiki pages, `file-view` is for (rendered) file content and `diff` is for the diff of an commit and pull request.
|
||||
|
||||
### UI - Admin (`ui.admin`)
|
||||
|
||||
|
|
Loading…
Reference in a new issue