aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/development
diff options
context:
space:
mode:
authorHesterG <hestergong@gmail.com>2023-06-08 15:35:55 +0800
committerGitHub <noreply@github.com>2023-06-08 07:35:55 +0000
commit206d3fbae91fcb4dacac0487ec07c1010219be35 (patch)
tree50ed2ff73f40af01bb2fd9f254aa95d9ff9e896e /docs/content/doc/development
parent3d020b57f81f7ecc4428f1ba39b63a3c973cc159 (diff)
downloadgitea-206d3fbae91fcb4dacac0487ec07c1010219be35.tar.gz
gitea-206d3fbae91fcb4dacac0487ec07c1010219be35.zip
Change branch name from master to main in some documents' links (#25126)
As title. And needs to backport to 1.19
Diffstat (limited to 'docs/content/doc/development')
-rw-r--r--docs/content/doc/development/migrations.zh-tw.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/development/migrations.zh-tw.md b/docs/content/doc/development/migrations.zh-tw.md
index de4ddd788d..c4171f3fb7 100644
--- a/docs/content/doc/development/migrations.zh-tw.md
+++ b/docs/content/doc/development/migrations.zh-tw.md
@@ -31,11 +31,11 @@ Gitea 定義了一些基本物件於套件 [modules/migration](https://github.co
- 您必須實作一個 `DownloaderFactory`,它用來偵測 URL 是否符合並建立上述的 `Downloader`。
- 您需要在 `init()` 透過 `RegisterDownloaderFactory` 來註冊 `DownloaderFactory`。
-您可以在 [downloader.go](https://github.com/go-gitea/gitea/blob/master/modules/migration/downloader.go) 中找到這些介面。
+您可以在 [downloader.go](https://github.com/go-gitea/gitea/blob/main/modules/migration/downloader.go) 中找到這些介面。
## Uploader 介面
目前只有 `GiteaLocalUploader` 被實作出來,所以我們只能通過 `Uploader` 儲存已下載的資料到本地的 Gitea 實例。
目前尚未支援其它 Uploader。
-您可以在 [uploader.go](https://github.com/go-gitea/gitea/blob/master/modules/migration/uploader.go) 中找到這些介面。
+您可以在 [uploader.go](https://github.com/go-gitea/gitea/blob/main/modules/migration/uploader.go) 中找到這些介面。