From 86d673b968472a74bf5999cf3cb71ac85ce6f3b4 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 --- doc/advanced/config-cheat-sheet.en-us.md | 2 ++ doc/usage/https-support.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/advanced/config-cheat-sheet.en-us.md b/doc/advanced/config-cheat-sheet.en-us.md index 6fe98f80..6d17f78c 100644 --- a/doc/advanced/config-cheat-sheet.en-us.md +++ b/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/doc/usage/https-support.md b/doc/usage/https-support.md index e2af3811..25c9ab01 100644 --- a/doc/usage/https-support.md +++ b/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]`.