summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-12-18 12:20:37 +0800
committerGitHub <noreply@github.com>2023-12-18 12:20:37 +0800
commita3f403f438e7f5b5dca3a5042fae8e68a896b1e7 (patch)
tree4d3811eec8e0ac9d1745c6e733d29e5a31cb6739 /docs/content
parent8ee1ed877b0207d9d8733ac32270325c54659909 (diff)
downloadgitea-a3f403f438e7f5b5dca3a5042fae8e68a896b1e7.tar.gz
gitea-a3f403f438e7f5b5dca3a5042fae8e68a896b1e7.zip
Add option to disable ambiguous unicode characters detection (#28454) (#28499)
Backport #28454 (the only conflict is caused by some comments) * Close #24483 * Close #28123 * Close #23682 * Close #23149
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/administration/config-cheat-sheet.en-us.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md
index c1378d5252..f97f021c37 100644
--- a/docs/content/administration/config-cheat-sheet.en-us.md
+++ b/docs/content/administration/config-cheat-sheet.en-us.md
@@ -220,6 +220,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
- `THEMES`: **auto,gitea,arc-green**: All available themes. Allow users select personalized themes.
regardless of the value of `DEFAULT_THEME`.
- `MAX_DISPLAY_FILE_SIZE`: **8388608**: Max size of files to be displayed (default is 8MiB)
+- `AMBIGUOUS_UNICODE_DETECTION`: **true**: Detect ambiguous unicode characters in file contents and show warnings on the UI
- `REACTIONS`: All available reactions users can choose on issues/prs and comments
Values can be emoji alias (:smile:) or a unicode emoji.
For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png