summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/administration
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/administration
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/administration')
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.zh-cn.md2
-rw-r--r--docs/content/doc/administration/customizing-gitea.zh-cn.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/administration/config-cheat-sheet.zh-cn.md b/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
index ba28b98123..233d252a05 100644
--- a/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
+++ b/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
@@ -18,7 +18,7 @@ menu:
# 配置说明
这是针对Gitea配置文件的说明,你可以了解Gitea的强大配置。需要说明的是,你的所有改变请修改 `custom/conf/app.ini` 文件而不是源文件。
-所有默认值可以通过 [app.example.ini](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.example.ini) 查看到。
+所有默认值可以通过 [app.example.ini](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini) 查看到。
如果你发现 `%(X)s` 这样的内容,请查看 [ini](https://github.com/go-ini/ini/#recursive-values) 这里的说明。
标注了 :exclamation: 的配置项表明除非你真的理解这个配置项的意义,否则最好使用默认值。
diff --git a/docs/content/doc/administration/customizing-gitea.zh-cn.md b/docs/content/doc/administration/customizing-gitea.zh-cn.md
index 47230ddeb2..64115ba178 100644
--- a/docs/content/doc/administration/customizing-gitea.zh-cn.md
+++ b/docs/content/doc/administration/customizing-gitea.zh-cn.md
@@ -24,7 +24,7 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
`custom/conf/app.ini` 当中。在发行版中可能会以 `/etc/gitea/` 的形式为 `custom` 设置一个符号链接,查看配置详情请移步:
- [快速备忘单](https://docs.gitea.io/en-us/config-cheat-sheet/)
-- [完整配置清单](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.example.ini)
+- [完整配置清单](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini)
如果您在 binary 同目录下无法找到 `custom` 文件夹,请检查您的 `GITEA_CUSTOM`
环境变量配置, 因为它可能被配置到了其他地方(可能被一些启动脚本设置指定了目录)。
@@ -67,7 +67,7 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
同理,您可以将页签添加到 `extra_tabs.tmpl` 中,使用同样的方式来添加页签。它的具体样式需要与
`templates/repo/header.tmpl` 中已有的其他选项卡的样式匹配
-([source in GitHub](https://github.com/go-gitea/gitea/blob/master/templates/repo/header.tmpl))
+([source in GitHub](https://github.com/go-gitea/gitea/blob/main/templates/repo/header.tmpl))
### 页面的其他新增内容