You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Directory `[repository]` `ROOT` was not found, please check if $GITEA_WORK_DIR is passed to the SSH connection or make `[repository]` `ROOT` an absolute value.")
305
+
"Directory `[repository]` `ROOT` %s was not found, please check if $GITEA_WORK_DIR is passed to the SSH connection or make `[repository]` `ROOT` an absolute value.", setting.RepoRootPath)
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
42
42
43
43
## Repository (`repository`)
44
44
45
-
-`ROOT`: **data/gitea-repositories/**: Root path for storing all repository data. It must be
46
-
an absolute path. By default it is stored in a sub-directory of `APP_DATA_PATH`.
45
+
-`ROOT`: **%(APP_DATA_PATH)/gitea-repositories**: Root path for storing all repository data.
46
+
A relative pathis interpreted as **%(GITEA_WORK_DIR)/%(ROOT)**.
47
47
-`SCRIPT_TYPE`: **bash**: The script type this server supports. Usually this is `bash`,
48
48
but some users report that only `sh` is available.
49
49
-`DETECTED_CHARSETS_ORDER`: **UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE, ISO-8859, windows-1252, ISO-8859, windows-1250, ISO-8859, ISO-8859, ISO-8859, windows-1253, ISO-8859, windows-1255, ISO-8859, windows-1251, windows-1256, KOI8-R, ISO-8859, windows-1254, Shift_JIS, GB18030, EUC-JP, EUC-KR, Big5, ISO-2022, ISO-2022, ISO-2022, IBM424_rtl, IBM424_ltr, IBM420_rtl, IBM420_ltr**: Tie-break order of detected charsets - if the detected charsets have equal confidence, charsets earlier in the list will be chosen in preference to those later. Adding `defaults` will place the unnamed charsets at that point.
@@ -87,7 +87,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/customizing-gitea.en-us.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,14 +60,15 @@ the url `http://gitea.domain.tld/assets/image.png`.
60
60
61
61
## Changing the logo
62
62
63
-
To build a custom logo clone the Gitea source repository, replace `assets/logo.svg` and run
64
-
`make generate-images`. This will update below output files which you can then place in `$GITEA_CUSTOM/public/img` on your server:
63
+
To build a custom logo and/or favicon clone the Gitea source repository, replace `assets/logo.svg` and/or `assets/favicon.svg` and run
64
+
`make generate-images`. `assets/favicon.svg` is used for the favicon only. This will update below output files which you can then place in `$GITEA_CUSTOM/public/img` on your server:
65
65
66
-
-`public/img/logo.svg` - Used for favicon, site icon, app icon
66
+
-`public/img/logo.svg` - Used for site icon, app icon
67
67
-`public/img/logo.png` - Used for Open Graph
68
-
-`public/img/favicon.png` - Used as fallback for browsers that don't support SVG favicons
69
68
-`public/img/avatar_default.png` - Used as the default avatar image
70
69
-`public/img/apple-touch-icon.png` - Used on iOS devices for bookmarks
70
+
-`public/img/favicon.svg` - Used for favicon
71
+
-`public/img/favicon.png` - Used as fallback for browsers that don't support SVG favicons
71
72
72
73
In case the source image is not in vector format, you can attempt to convert a raster image using tools like [this](https://www.aconvert.com/image/png-to-svg/).
0 commit comments