File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ toc: false
7
7
draft : false
8
8
menu :
9
9
sidebar :
10
- parent : " advanced "
10
+ parent : " developers "
11
11
name : " 加入 Gitea 开源"
12
12
weight : 10
13
13
identifier : " hacking-on-gitea"
14
14
---
15
15
16
16
# Hacking on Gitea
17
17
18
- 首先你需要一些运行环境,这和 [ 从源代码安装] ({{< relref "from-source.zh-cn.md" >}}) 相同,如果你还没有设置好,可以先阅读那个章节。
18
+ 首先你需要一些运行环境,这和 [ 从源代码安装] ({{< relref "doc/installation/ from-source.zh-cn.md" >}}) 相同,如果你还没有设置好,可以先阅读那个章节。
19
19
20
20
如果你想为 Gitea 贡献代码,你需要 Fork 这个项目并且以 ` master ` 为开发分支。Gitea 使用 Govendor
21
21
来管理依赖,因此所有依赖项都被工具自动 copy 在 vendor 子目录下。用下面的命令来下载源码:
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ chmod +x gitea
32
32
33
33
## 需要帮助?
34
34
35
- 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "seek-help.zh-cn.md" >}})
35
+ 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "doc/help/ seek-help.zh-cn.md" >}})
Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ OpenSUSE 构建服务为 [openSUSE 和 SLE](https://software.opensuse.org/downlo
64
64
choco install gitea
65
65
```
66
66
67
- 你也可以 [ 从二进制安装] ({{< relref "from-binary.zh-cn.md" >}}) 。
67
+ 你也可以 [ 从二进制安装] ({{< relref "doc/installation/ from-binary.zh-cn.md" >}}) 。
68
68
69
69
## macOS
70
70
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 ` 之后, 你可以执行以下命令:
72
72
73
73
```
74
74
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
@@ -105,4 +105,4 @@ make install clean
105
105
106
106
## 需要帮助?
107
107
108
- 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "seek-help.zh-cn.md" >}})
108
+ 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "doc/help/ seek-help.zh-cn.md" >}})
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ git checkout v{{< version >}}
54
54
55
55
- ` go ` {{< min-go-version >}} 或以上版本, 详见[ 这里] ( https://golang.google.cn/doc/install )
56
56
- ` 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" >}})
58
58
59
59
各种可用的 [ make 任务] ( https://github.com/go-gitea/gitea/blob/main/Makefile )
60
60
可以用来使编译过程更方便。
@@ -104,4 +104,4 @@ CC=aarch64-unknown-linux-gnu-gcc GOOS=linux GOARCH=arm64 TAGS="bindata sqlite sq
104
104
105
105
## 需要帮助?
106
106
107
- 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "seek-help.zh-cn.md" >}})
107
+ 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "doc/help/ seek-help.zh-cn.md" >}})
Original file line number Diff line number Diff line change @@ -70,4 +70,4 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和
70
70
71
71
## 需要帮助?
72
72
73
- 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "seek-help.zh-cn.md" >}})
73
+ 如果从本页中没有找到你需要的内容,请访问 [ 帮助页面] ({{< relref "doc/help/ seek-help.zh-cn.md" >}})
You can’t perform that action at this time.
0 commit comments