diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2019-01-17 20:48:01 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-17 14:48:01 -0500 |
commit | 9edc829c1758b436f8f52ebe61479af087940d60 (patch) | |
tree | d54caf179dd74cc5951c7b98c2f7da2719eb1124 | |
parent | 82e08a3364195b515a005180c2bdc08e78aac208 (diff) | |
download | gitea-9edc829c1758b436f8f52ebe61479af087940d60.tar.gz gitea-9edc829c1758b436f8f52ebe61479af087940d60.zip |
update docs to include THEMES config value (#5752)
* update docs to include THEMES
* Update app.ini.sample
* Update config-cheat-sheet.en-us.md
-rw-r--r-- | custom/conf/app.ini.sample | 2 | ||||
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 | ||||
-rw-r--r-- | 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]`. |