Skip to content

Commit 9edc829

Browse files
adelowotechknowlogick
authored andcommitted
update docs to include THEMES config value (#5752)
* update docs to include THEMES * Update app.ini.sample * Update config-cheat-sheet.en-us.md
1 parent 82e08a3 commit 9edc829

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

custom/conf/app.ini.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ MAX_DISPLAY_FILE_SIZE = 8388608
8888
SHOW_USER_EMAIL = true
8989
; Set the default theme for the Gitea install
9090
DEFAULT_THEME = gitea
91-
; All available themes
91+
; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`.
9292
THEMES = gitea,arc-green
9393

9494
[ui.admin]

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
7777
- `FEED_MAX_COMMIT_NUM`: **5**: Number of maximum commits shown in one activity feed.
7878
- `GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph.
7979
- `DEFAULT_THEME`: **gitea**: \[gitea, arc-green\]: Set the default theme for the Gitea install.
80+
- `THEMES`: **gitea,arc-green**: All available themes. Allow users select personalized themes
81+
regardless of the value of `DEFAULT_THEME`.
8082

8183
### UI - Admin (`ui.admin`)
8284

docs/content/doc/usage/https-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ After that, enable HTTPS by following one of these guides:
7474
* [apache2/httpd](https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html)
7575
* [caddy](https://caddyserver.com/docs/tls)
7676

77-
Note: You connection between your reverse proxy and gitea might be unencrypted. To encrypt it too follow the [built-in server guide](#using-built-in-server) and change
77+
Note: Your connection between your reverse proxy and gitea might be unencrypted. To encrypt it too follow the [built-in server guide](#using-built-in-server) and change
7878
the proxy url to `https://[URL]`.

0 commit comments

Comments
 (0)