]> source.dussan.org Git - gitea.git/commit
Unify doc links to use paths relative to doc folder (#24979) (#25000)
authorHesterG <hestergong@gmail.com>
Tue, 30 May 2023 10:08:32 +0000 (18:08 +0800)
committerGitHub <noreply@github.com>
Tue, 30 May 2023 10:08:32 +0000 (18:08 +0800)
commitd2c9fb02dd209079a660734f1b920bc1045362ff
tree88278782f295c26b792eb0236feae0c5757ebba0
parentcdeb55f6e53ac9bb8dcfc2d2aa6a84e4391ec6c5
Unify doc links to use paths relative to doc folder (#24979) (#25000)

Backport #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.
docs/content/doc/development/hacking-on-gitea.en-us.md
docs/content/doc/development/hacking-on-gitea.zh-cn.md
docs/content/doc/installation/from-binary.en-us.md
docs/content/doc/installation/from-binary.fr-fr.md
docs/content/doc/installation/from-binary.zh-cn.md
docs/content/doc/installation/from-package.en-us.md
docs/content/doc/installation/from-package.fr-fr.md
docs/content/doc/installation/from-package.zh-cn.md
docs/content/doc/installation/from-package.zh-tw.md
docs/content/doc/installation/from-source.en-us.md