Skip to content

Commit a3e185b

Browse files
anthony-zhyeyuanjielunny
authored
Fix broken links in the Chinese docs (#23289)
When I used docusaurus to make Chinese documents, I found that there were links on several Chinese pages with problems on docusaurus, so I modified the links on some pages and removed some useless tags --------- Co-authored-by: yeyuanjie <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 2f1d968 commit a3e185b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/content/doc/advanced/hacking-on-gitea.zh-cn.md renamed to docs/content/doc/developers/hacking-on-gitea.zh-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ toc: false
77
draft: false
88
menu:
99
sidebar:
10-
parent: "advanced"
10+
parent: "developers"
1111
name: "加入 Gitea 开源"
1212
weight: 10
1313
identifier: "hacking-on-gitea"
1414
---
1515

1616
# Hacking on Gitea
1717

18-
首先你需要一些运行环境,这和 [从源代码安装]({{< relref "from-source.zh-cn.md" >}}) 相同,如果你还没有设置好,可以先阅读那个章节。
18+
首先你需要一些运行环境,这和 [从源代码安装]({{< relref "doc/installation/from-source.zh-cn.md" >}}) 相同,如果你还没有设置好,可以先阅读那个章节。
1919

2020
如果你想为 Gitea 贡献代码,你需要 Fork 这个项目并且以 `master` 为开发分支。Gitea 使用 Govendor
2121
来管理依赖,因此所有依赖项都被工具自动 copy 在 vendor 子目录下。用下面的命令来下载源码:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ chmod +x gitea
3232

3333
## 需要帮助?
3434

35-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
35+
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/seek-help.zh-cn.md" >}})

docs/content/doc/installation/from-package.zh-cn.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ OpenSUSE 构建服务为 [openSUSE 和 SLE](https://software.opensuse.org/downlo
6464
choco install gitea
6565
```
6666

67-
你也可以 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}}) 。
67+
你也可以 [从二进制安装]({{< relref "doc/installation/from-binary.zh-cn.md" >}}) 。
6868

6969
## macOS
7070

71-
macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令:
71+
macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "doc/installation/from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令:
7272

7373
```
7474
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
@@ -105,4 +105,4 @@ make install clean
105105

106106
## 需要帮助?
107107

108-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
108+
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/seek-help.zh-cn.md" >}})

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ git checkout v{{< version >}}
5454

5555
- `go` {{< min-go-version >}} 或以上版本, 详见[这里](https://golang.google.cn/doc/install)
5656
- `node` {{< min-node-version >}} 或以上版本,并且安装 `npm`, 详见[这里](https://nodejs.org/zh-cn/download/)
57-
- `make`, 详见[这里]({{< relref "make.zh-cn.md" >}})</a>
57+
- `make`, 详见[这里]({{< relref "doc/advanced/make.zh-cn.md" >}})
5858

5959
各种可用的 [make 任务](https://github.com/go-gitea/gitea/blob/main/Makefile)
6060
可以用来使编译过程更方便。
@@ -104,4 +104,4 @@ CC=aarch64-unknown-linux-gnu-gcc GOOS=linux GOARCH=arm64 TAGS="bindata sqlite sq
104104

105105
## 需要帮助?
106106

107-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
107+
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/seek-help.zh-cn.md" >}})

docs/content/page/index.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和
7070

7171
## 需要帮助?
7272

73-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
73+
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/seek-help.zh-cn.md" >}})

0 commit comments

Comments
 (0)