From 9edc829c1758b436f8f52ebe61479af087940d60 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Thu, 17 Jan 2019 20:48:01 +0100 Subject: [PATCH] update docs to include THEMES config value (#5752) * update docs to include THEMES * Update app.ini.sample * Update config-cheat-sheet.en-us.md --- custom/conf/app.ini.sample | 2 +- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 ++ docs/content/doc/usage/https-support.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index a6ca758423..20de7236bc 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -88,7 +88,7 @@ MAX_DISPLAY_FILE_SIZE = 8388608 SHOW_USER_EMAIL = true ; Set the default theme for the Gitea install DEFAULT_THEME = gitea -; All available themes +; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`. THEMES = gitea,arc-green [ui.admin] diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 6fe98f809b..6d17f78cef 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -77,6 +77,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `FEED_MAX_COMMIT_NUM`: **5**: Number of maximum commits shown in one activity feed. - `GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph. - `DEFAULT_THEME`: **gitea**: \[gitea, arc-green\]: Set the default theme for the Gitea install. +- `THEMES`: **gitea,arc-green**: All available themes. Allow users select personalized themes + regardless of the value of `DEFAULT_THEME`. ### UI - Admin (`ui.admin`) diff --git a/docs/content/doc/usage/https-support.md b/docs/content/doc/usage/https-support.md index e2af38113b..25c9ab0164 100644 --- a/docs/content/doc/usage/https-support.md +++ b/docs/content/doc/usage/https-support.md @@ -74,5 +74,5 @@ After that, enable HTTPS by following one of these guides: * [apache2/httpd](https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html) * [caddy](https://caddyserver.com/docs/tls) -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 +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 the proxy url to `https://[URL]`.