diff options
author | silverwind <me@silverwind.io> | 2019-11-21 21:06:23 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-21 15:06:23 -0500 |
commit | f0aaffeedccaa7b338af6cf72cef77895513c9f1 (patch) | |
tree | 9101b9c92c60a9b9776e1e23fdb9c58ef63f4d38 /docs/content/doc/advanced/config-cheat-sheet.en-us.md | |
parent | cbaa1de9ec8ab1baa49357b660fab16a68097c84 (diff) | |
download | gitea-f0aaffeedccaa7b338af6cf72cef77895513c9f1.tar.gz gitea-f0aaffeedccaa7b338af6cf72cef77895513c9f1.zip |
Add USE_SERVICE_WORKER setting (#9110)
* Add USE_SERVICE_WORKER setting
This will be very useful setting for anyone doing frontend work.
Fixes: https://github.com/go-gitea/gitea/issues/9044
* prevent potential syntax error on old browsers
Diffstat (limited to 'docs/content/doc/advanced/config-cheat-sheet.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 5 |
1 files changed, 3 insertions, 2 deletions
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 11c0686c51..9fdcd2c82b 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -118,8 +118,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `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`. -- `DEFAULT_SHOW_FULL_NAME`: false: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used. -- `SEARCH_REPO_DESCRIPTION`: true: Whether to search within description at repository search on explore page. +- `DEFAULT_SHOW_FULL_NAME`: **false**: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used. +- `SEARCH_REPO_DESCRIPTION`: **true**: Whether to search within description at repository search on explore page. +- `USE_SERVICE_WORKER`: **true**: Whether to enable a Service Worker to cache frontend assets. ### UI - Admin (`ui.admin`) |