forked from forgejo/forgejo
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.
(cherry picked from commit d2c9fb02dd
)
This commit is contained in:
parent
442a13b98a
commit
35c503f1ca
10 changed files with 21 additions and 23 deletions
|
@ -121,9 +121,8 @@ to the Gitea sources. Otherwise, changes can't be pushed.
|
|||
## Building Gitea (Basic)
|
||||
|
||||
Take a look at our
|
||||
<a href='{{< relref "doc/installation/from-source.en-us.md" >}}'>instructions</a>
|
||||
for <a href='{{< relref "doc/installation/from-source.en-us.md" >}}'>building
|
||||
from source</a>.
|
||||
[instructions]({{< relref "doc/installation/from-source.en-us.md" >}})
|
||||
for [building from source]({{< relref "doc/installation/from-source.en-us.md" >}}).
|
||||
|
||||
The simplest recommended way to build from source is:
|
||||
|
||||
|
@ -264,7 +263,7 @@ OpenAPI 3 documentation.
|
|||
When creating new configuration options, it is not enough to add them to the
|
||||
`modules/setting` files. You should add information to `custom/conf/app.ini`
|
||||
and to the
|
||||
<a href='{{< relref "doc/administration/config-cheat-sheet.en-us.md" >}}'>configuration cheat sheet</a>
|
||||
[configuration cheat sheet]({{< relref "doc/administration/config-cheat-sheet.en-us.md" >}})
|
||||
found in `docs/content/doc/administer/config-cheat-sheet.en-us.md`
|
||||
|
||||
### Changing the logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue