aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/from-source.en-us.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-source.en-us.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-source.en-us.md')
-rw-r--r--docs/content/doc/installation/from-source.en-us.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md
index 57db1a36ae..e0be7f2f14 100644
--- a/docs/content/doc/installation/from-source.en-us.md
+++ b/docs/content/doc/installation/from-source.en-us.md
@@ -35,8 +35,7 @@ executable path, you will have to manage this yourself.
**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/development/hacking-on-gitea.en-us.md" >}}'>Hacking on
-Gitea</a>
+[Hacking on Gitea]({{< relref "doc/development/hacking-on-gitea.en-us.md" >}})
**Table of Contents**