Skip to content

Commit ad9aac3

Browse files
authored
Fix some incorrect links in docs (#28191)
https://gitea.com/gitea/gitea-docusaurus/actions/runs/661/jobs/0#jobstep-9-39 I noticed that there are many warning logs in building docs. It is causing 404 in docs.gitea.com now, so we need to fix it. And there are also some other problems in v1.19 which can not be done in this PR. ps: Are there any good methods to test this in local?
1 parent 6c77443 commit ad9aac3

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

docs/content/administration/email-setup.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ PASSWD = `password`
5555

5656
要发送测试邮件以验证设置,请转到 Gitea > 站点管理 > 配置 > SMTP 邮件配置。
5757

58-
有关所有选项的完整列表,请查看[配置速查表](doc/administration/config-cheat-sheet.zh-cn.md)
58+
有关所有选项的完整列表,请查看[配置速查表](doc/administration/config-cheat-sheet.md)
5959

6060
请注意:只有在使用 TLS 或 `HOST=localhost` 加密 SMTP 服务器通信时才支持身份验证。TLS 加密可以通过以下方式进行:
6161

docs/content/help/faq.en-us.md

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ If a bug fix is targeted on 1.20.1 but 1.20.1 is not released yet, you can get t
3939

4040
To migrate from Gogs to Gitea:
4141

42-
- [Gogs version 0.9.146 or less](installation/upgrade-from-gogs.md)
4342
- [Gogs version 0.11.46.0418](https://github.com/go-gitea/gitea/issues/4286)
4443

4544
To migrate from GitHub to Gitea, you can use Gitea's built-in migration form.

docs/content/help/faq.zh-cn.md

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ menu:
4141

4242
要从Gogs迁移到Gitea:
4343

44-
- [Gogs版本0.9.146或更低](installation/upgrade-from-gogs.md)
4544
- [Gogs版本0.11.46.0418](https://github.com/go-gitea/gitea/issues/4286)
4645

4746
要从GitHub迁移到Gitea,您可以使用Gitea内置的迁移表单。

docs/content/usage/actions/act-runner.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you cannot see the settings page, please make sure that you have the right pe
114114

115115
The format of the registration token is a random string `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`.
116116

117-
A registration token can also be obtained from the gitea [command-line interface](../../administration/command-line.en-us.md#actions-generate-runner-token):
117+
A registration token can also be obtained from the gitea [command-line interface](../../administration/command-line.md#actions-generate-runner-token):
118118

119119
```
120120
gitea --config /etc/gitea/app.ini actions generate-runner-token

docs/content/usage/actions/act-runner.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Runner级别决定了从哪里获取注册令牌。
113113

114114
注册令牌的格式是一个随机字符串 `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`
115115

116-
注册令牌也可以通过 Gitea 的 [命令行](../../administration/command-line.en-us.md#actions-generate-runner-token) 获得:
116+
注册令牌也可以通过 Gitea 的 [命令行](../../administration/command-line.md#actions-generate-runner-token) 获得:
117117

118118
### 注册Runner
119119

docs/content/usage/authentication.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ administrative user.
198198
field is set to `mail.com`, then Gitea will expect the `user email` field
199199
for an authenticated GIT instance to be `[email protected]`.[^2]
200200

201-
**Note**: PAM support is added via [build-time flags](installation/install-from-source.md#build),
201+
**Note**: PAM support is added via [build-time flags](installation/from-source.md#build),
202202
and the official binaries provided do not have this enabled. PAM requires that
203203
the necessary libpam dynamic library be available and the necessary PAM
204204
development headers be accessible to the compiler.

docs/content/usage/authentication.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ PAM提供了一种机制,通过对用户进行PAM认证来自动将其添加
162162
- PAM电子邮件域:用户认证时要附加的电子邮件后缀。例如,如果登录系统期望一个名为gituse的用户,
163163
并且将此字段设置为mail.com,那么Gitea在验证一个GIT实例的用户时将期望user emai字段为[email protected][^2]
164164

165-
**Note**: PAM 支持通过[build-time flags](installation/install-from-source.md#build)添加,
165+
**Note**: PAM 支持通过[build-time flags](installation/from-source.md#build)添加,
166166
而官方提供的二进制文件通常不会默认启用此功能。PAM需要确保系统上有必要的libpam动态库,并且编译器可以访问必要的PAM开发头文件。
167167

168168
[^1]: 例如,在Debian "Bullseye"上使用标准Linux登录,可以使用`common-session-noninteractive`。这个值对于其他版本的Debian,

0 commit comments

Comments
 (0)