Skip to content

Commit 1ae33e0

Browse files
authored
Fix links in docs (#28302)
Close #28287 ## How to test it in local convert Makefile L34 into: ``` cd .tmp/upstream-docs && git clean -f && git reset --hard && git fetch origin pull/28302/head:pr28302 && git switch pr28302 ```
1 parent 14354e4 commit 1ae33e0

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

docs/content/administration/https-support.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ CERT_FILE = cert.pem
3333
KEY_FILE = key.pem
3434
```
3535

36-
请注意,如果您的证书由第三方证书颁发机构签名(即不是自签名的),则 cert.pem 应包含证书链。服务器证书必须是 cert.pem 中的第一个条目,后跟中介(如果有)。不必包含根证书,因为连接客户端必须已经拥有根证书才能建立信任关系。要了解有关配置值的更多信息,请查看 [配置备忘单](../config-cheat-sheet#server-server)
36+
请注意,如果您的证书由第三方证书颁发机构签名(即不是自签名的),则 cert.pem 应包含证书链。服务器证书必须是 cert.pem 中的第一个条目,后跟中介(如果有)。不必包含根证书,因为连接客户端必须已经拥有根证书才能建立信任关系。要了解有关配置值的更多信息,请查看 [配置备忘单](administration/config-cheat-sheet#server-server)
3737

3838
对于“CERT_FILE”或“KEY_FILE”字段,当文件路径是相对路径时,文件路径相对于“GITEA_CUSTOM”环境变量。它也可以是绝对路径。
3939

docs/content/development/api-usage.en-us.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ menu:
1919

2020
## Enabling/configuring API access
2121

22-
By default, `ENABLE_SWAGGER` is true, and
23-
`MAX_RESPONSE_ITEMS` is set to 50. See [Config Cheat
24-
Sheet](administration/config-cheat-sheet.md) for more
25-
information.
22+
By default, `ENABLE_SWAGGER` is true, and `MAX_RESPONSE_ITEMS` is set to 50. See [Config Cheat Sheet](administration/config-cheat-sheet.md) for more information.
2623

2724
## Authentication
2825

docs/content/development/api-usage.zh-cn.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ menu:
1919

2020
## 开启/配置 API 访问
2121

22-
通常情况下, `ENABLE_SWAGGER` 默认开启并且参数 `MAX_RESPONSE_ITEMS` 默认为 50。您可以从 [Config Cheat
23-
Sheet](administration/config-cheat-sheet.md) 中获取更多配置相关信息。
22+
通常情况下, `ENABLE_SWAGGER` 默认开启并且参数 `MAX_RESPONSE_ITEMS` 默认为 50。您可以从 [Config Cheat Sheet](administration/config-cheat-sheet.md) 中获取更多配置相关信息。
2423

2524
## 通过 API 认证
2625

docs/content/installation/from-binary.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ chmod 770 /etc/gitea
117117
- 使用 `gitea generate secret` 创建 `SECRET_KEY``INTERNAL_TOKEN`
118118
- 提供所有必要的密钥
119119
120-
详情参考 [命令行文档](/zh-cn/command-line/) 中有关 `gitea generate secret` 的内容。
120+
详情参考 [命令行文档](administration/command-line.md) 中有关 `gitea generate secret` 的内容。
121121
122122
### 配置 Gitea 工作路径
123123
@@ -209,6 +209,6 @@ remote: ./hooks/pre-receive.d/gitea: line 2: [...]: No such file or directory
209209

210210
如果您没有使用 Gitea 内置的 SSH 服务器,您还需要通过在管理选项中运行任务 `Update the '.ssh/authorized_keys' file with Gitea SSH keys.` 来重新编写授权密钥文件。
211211

212-
> 更多经验总结,请参考英文版 [Troubleshooting](/en-us/install-from-binary/#troubleshooting)
212+
> 更多经验总结,请参考英文版 [Troubleshooting](https://docs.gitea.com/installation/install-from-binary#troubleshooting)
213213
214214
如果从本页中没有找到你需要的内容,请访问 [帮助页面](help/support.md)

docs/content/installation/from-source.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ git checkout v@version@ # or git checkout pr-xyz
6464

6565
- `go` @minGoVersion@ 或更高版本,请参阅 [这里](https://golang.org/dl/)
6666
- `node` @minNodeVersion@ 或更高版本,并且安装 `npm`, 请参阅 [这里](https://nodejs.org/zh-cn/download/)
67-
- `make`, 请参阅 [这里](/zh-cn/hacking-on-gitea/)
67+
- `make`, 请参阅 [这里](development/hacking-on-gitea.md)
6868

6969
为了尽可能简化编译过程,提供了各种 [make任务](https://github.com/go-gitea/gitea/blob/main/Makefile)
7070

0 commit comments

Comments
 (0)