aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/from-source.zh-tw.md
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-08-22 20:55:06 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2019-08-23 09:55:06 +0800
commit4ea9a377db86e4b78d9be2f5d481f69a06c78856 (patch)
tree6bfc76f7b6eada8a53a529260b1d33cf17cc84ec /docs/content/doc/installation/from-source.zh-tw.md
parent9f58187f1176d00e10b2d8fb0fb7fae1d1bcd17b (diff)
downloadgitea-4ea9a377db86e4b78d9be2f5d481f69a06c78856.tar.gz
gitea-4ea9a377db86e4b78d9be2f5d481f69a06c78856.zip
Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/content/doc/installation/from-source.zh-tw.md')
-rw-r--r--docs/content/doc/installation/from-source.zh-tw.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/installation/from-source.zh-tw.md b/docs/content/doc/installation/from-source.zh-tw.md
index e8450121b0..461e9f0748 100644
--- a/docs/content/doc/installation/from-source.zh-tw.md
+++ b/docs/content/doc/installation/from-source.zh-tw.md
@@ -32,14 +32,14 @@ cd $GOPATH/src/code.gitea.io/gitea
```
git branch -a
-git checkout v1.0
+git checkout v{{< version >}}
```
-最後您也可以直接編譯最新的標籤版本像是 `v1.0.0`,假如您想要從原始碼編譯,這方法是最合適的,在編譯標籤版本前,您需要列出當下所有標籤,並且直接切換到標籤版本,請使用底下指令::
+最後您也可以直接編譯最新的標籤版本像是 `v{{< version >}}`,假如您想要從原始碼編譯,這方法是最合適的,在編譯標籤版本前,您需要列出當下所有標籤,並且直接切換到標籤版本,請使用底下指令::
```
git tag -l
-git checkout v1.0.0
+git checkout v{{< version >}}
```
## 編譯