aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/from-binary.zh-cn.md
diff options
context:
space:
mode:
authorHesterG <hestergong@gmail.com>2023-05-29 21:27:16 +0800
committerGitHub <noreply@github.com>2023-05-29 13:27:16 +0000
commit0018b0a15ecc886296e28430ccd2fef5756a50b1 (patch)
tree6b8808d1e6cc2b7658bd379d2b8d52771fda32d7 /docs/content/doc/installation/from-binary.zh-cn.md
parent79a4c80f8d81e67371f6ff1f8d55bd003ab01208 (diff)
downloadgitea-0018b0a15ecc886296e28430ccd2fef5756a50b1.tar.gz
gitea-0018b0a15ecc886296e28430ccd2fef5756a50b1.zip
Unify doc links to use paths relative to doc folder (#24979)
Changes: 1. Use uniform links types relative to doc folder (start with `doc/`) 2. According to [docusaurus links](https://docusaurus.io/docs/markdown-features/links), if `<a>` is used, the `href` is resolved as URL location, but not file location. So need to use `[text]({{< relref "path" >}})` instead.
Diffstat (limited to 'docs/content/doc/installation/from-binary.zh-cn.md')
-rw-r--r--docs/content/doc/installation/from-binary.zh-cn.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/installation/from-binary.zh-cn.md b/docs/content/doc/installation/from-binary.zh-cn.md
index 126ebf6e06..85fc473628 100644
--- a/docs/content/doc/installation/from-binary.zh-cn.md
+++ b/docs/content/doc/installation/from-binary.zh-cn.md
@@ -143,7 +143,7 @@ cp gitea /usr/local/bin/gitea
### 1. 创建服务自动启动 Gitea(推荐)
-学习创建 [Linux 服务]({{< relref "run-as-service-in-ubuntu.zh-cn.md" >}})
+学习创建 [Linux 服务]({{< relref "doc/installation/run-as-service-in-ubuntu.zh-cn.md" >}})
### 2. 通过命令行终端运行
@@ -175,4 +175,4 @@ GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini
> 更多经验总结,请参考英文版 [Troubleshooting](/en-us/install-from-binary/#troubleshooting)
-如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})
+如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/support.zh-cn.md" >}})