mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-08 19:10:32 +00:00
docs: fix the REPOSITORY_AVATAR_FALLBACK_IMAGE default (#569)
The cheat sheet lists `/img/repo_default.png` as the `REPOSITORY_AVATAR_FALLBACK_IMAGE` default, but public files moved under `/assets` in Gitea 1.15 (https://github.com/go-gitea/gitea/pull/15219), so that path 404s. Like `app.example.ini` in https://github.com/go-gitea/gitea/pull/39514, document the default as empty, falling back to Gitea's builtin repository avatar, and note that a custom value is used as-is without the sub-path. Applies to all documented versions and translations. _Written by Claude Code (Opus 5.5)._ Reviewed-on: https://gitea.com/gitea/docs/pulls/569 Reviewed-by: wxiaoguang <[email protected]> Co-authored-by: silverwind <[email protected]>
This commit is contained in:
1 parent
8d93c189ac
commit
7219c0e44d
23 files changed
+23
-23
No files matched your search
+1
-1
@@ -816,7 +816,7 @@ In-Reply-To =
|
||||
- none = 不顯示任何頭像
|
||||
- random = 生成隨機頭像
|
||||
- image = 使用預設圖像(在 `REPOSITORY_AVATAR_FALLBACK_IMAGE` 中設定),如果設定為 image 並且未上傳任何圖像。
|
||||
- `REPOSITORY_AVATAR_FALLBACK_IMAGE`: **/img/repo_default.png**: 作為預設儲存庫頭像的圖像(如果將 `REPOSITORY_AVATAR_FALLBACK` 設定為 image 並且沒有上傳圖像)。
|
||||
- `REPOSITORY_AVATAR_FALLBACK_IMAGE`: **_empty_**: 作為預設儲存庫頭像的圖像(如果將 `REPOSITORY_AVATAR_FALLBACK` 設定為 image 並且沒有上傳圖像)。該值將原樣使用,不會自動加上 `ROOT_URL` 中的子路徑。留空則使用 Gitea 內建的儲存庫頭像。
|
||||
|
||||
## 專案 (`project`)
|
||||
|
||||
|
||||
Reference in new issue
Block a user