From 53e4f672a3e9684a7ac3dcaf777effeb8d89b9ac Mon Sep 17 00:00:00 2001 From: xpume <770954908@qq.com> Date: Mon, 28 Aug 2023 18:07:38 +0800 Subject: [PATCH] Fix Page Not Found error (#26768) Co-authored-by: Lunny Xiao (cherry picked from commit c8b189eb016e86e91e6700470eb2b89345d0e1eb) --- docs/content/installation/from-binary.zh-cn.md | 2 +- docs/content/installation/from-source.zh-cn.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/installation/from-binary.zh-cn.md b/docs/content/installation/from-binary.zh-cn.md index a5f54756ed..a456aa2826 100644 --- a/docs/content/installation/from-binary.zh-cn.md +++ b/docs/content/installation/from-binary.zh-cn.md @@ -117,7 +117,7 @@ chmod 770 /etc/gitea - 使用 `gitea generate secret` 创建 `SECRET_KEY` 和 `INTERNAL_TOKEN` - 提供所有必要的密钥 -详情参考 [命令行文档](/zh-cn/command-line/) 中有关 `gitea generate secret` 的内容。 +详情参考 [命令行文档](administration/command-line.md) 中有关 `gitea generate secret` 的内容。 ### 配置 Gitea 工作路径 diff --git a/docs/content/installation/from-source.zh-cn.md b/docs/content/installation/from-source.zh-cn.md index 40c04ace80..3f13746ff1 100644 --- a/docs/content/installation/from-source.zh-cn.md +++ b/docs/content/installation/from-source.zh-cn.md @@ -52,7 +52,7 @@ git checkout v@version@ - `go` @minGoVersion@ 或以上版本, 详见[这里](https://golang.google.cn/doc/install) - `node` @minNodeVersion@ 或以上版本,并且安装 `npm`, 详见[这里](https://nodejs.org/zh-cn/download/) -- `make`, 详见[这里](/zh-cn/hacking-on-gitea/) +- `make`, 详见[这里](development/hacking-on-gitea.md) 各种可用的 [make 任务](https://github.com/go-gitea/gitea/blob/main/Makefile) 可以用来使编译过程更方便。