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
|
@ -113,8 +113,8 @@ git fetch --all --prune
|
|||
## 构建 Gitea(基本)
|
||||
|
||||
看看我们的
|
||||
<a href='{{ < relref "doc/installation/from-source.en-us.md" > }}'>说明</a>
|
||||
关于如何 <a href='{{ < relref "doc/installation/from-source.en-us.md" > }}'>从源代码构建</a> 。
|
||||
[说明]({{< relref "doc/installation/from-source.zh-cn.md" >}})
|
||||
关于如何[从源代码构建]({{< relref "doc/installation/from-source.zh-cn.md" >}}) 。
|
||||
|
||||
从源代码构建的最简单推荐方法是:
|
||||
|
||||
|
@ -247,7 +247,7 @@ make swagger-check
|
|||
### 创建新的配置选项
|
||||
|
||||
创建新的配置选项时,将它们添加到 `modules/setting` 的对应文件。您应该将信息添加到 `custom/conf/app.ini`
|
||||
并到 <a href = '{{ < relref "doc/administration/config-cheat-sheet.en-us.md" > }}'>配置备忘单</a>
|
||||
并到[配置备忘单]({{< relref "doc/administration/config-cheat-sheet.zh-cn.md" >}})
|
||||
在 `docs/content/doc/advanced/config-cheat-sheet.en-us.md` 中找到
|
||||
|
||||
### 更改Logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue