diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2020-03-04 21:37:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 21:37:19 -0300 |
commit | be544e8e6a78360d87315ada9695cc6d70c3617c (patch) | |
tree | 422fc4369a0972d78bd960f6c4d8995a809f6450 /docs/content/doc/installation | |
parent | 4e65d2b8ea6347663cb7c67684f3297fd3f5f22e (diff) | |
download | gitea-be544e8e6a78360d87315ada9695cc6d70c3617c.tar.gz gitea-be544e8e6a78360d87315ada9695cc6d70c3617c.zip |
Versions (#10597)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/content/doc/installation')
-rw-r--r-- | docs/content/doc/installation/from-source.en-us.md | 6 | ||||
-rw-r--r-- | docs/content/doc/installation/from-source.zh-cn.md | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md index 861d611391..3f767308f7 100644 --- a/docs/content/doc/installation/from-source.en-us.md +++ b/docs/content/doc/installation/from-source.en-us.md @@ -31,7 +31,7 @@ necessary. To be able to use these, you must have the `"$GOPATH/bin"` directory on the executable path. If you don't add the go bin directory to the executable path, you will have to manage this yourself. -**Note 2**: Go version 1.11 or higher is required. However, it is recommended to +**Note 2**: Go version {{< min-go-version >}} or higher is required. However, it is recommended to obtain the same version as our continuous integration, see the advice given in <a href='{{< relref "doc/advanced/hacking-on-gitea.en-us.md" >}}'>Hacking on Gitea</a> @@ -81,7 +81,7 @@ git checkout v{{< version >}} # or git checkout pr-xyz To build from source, the following programs must be present on the system: -- `go` 1.11.0 or higher, see [here](https://golang.org/dl/) +- `go` {{< min-go-version >}} or higher, see [here](https://golang.org/dl/) - `node` 10.0.0 or higher with `npm`, see [here](https://nodejs.org/en/download/) - `make`, see <a href='{{< relref "doc/advanced/make.en-us.md" >}}'>here</a> @@ -116,7 +116,7 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build The `build` target is split into two sub-targets: -- `make backend` which requires [Go 1.11](https://golang.org/dl/) or greater. +- `make backend` which requires [Go {{< min-go-version >}}](https://golang.org/dl/) or greater. - `make frontend` which requires [Node.js 10.0.0](https://nodejs.org/en/download/) or greater. If pre-built frontend files are present it is possible to only build the backend: diff --git a/docs/content/doc/installation/from-source.zh-cn.md b/docs/content/doc/installation/from-source.zh-cn.md index b9b5be2b5f..dc6cae151d 100644 --- a/docs/content/doc/installation/from-source.zh-cn.md +++ b/docs/content/doc/installation/from-source.zh-cn.md @@ -46,7 +46,7 @@ git checkout v{{< version >}} 要从源代码进行编译,以下依赖程序必须事先安装好: -- `go` 1.11.0 或以上版本, 详见 [here](https://golang.org/dl/) +- `go` {{< min-go-version >}} 或以上版本, 详见 [here](https://golang.org/dl/) - `node` 10.0.0 或以上版本,并且安装 `npm`, 详见 [here](https://nodejs.org/en/download/) - `make`, 详见 <a href='{{< relref "make.zh-cn.md" >}}'>这里</a> |