]> source.dussan.org Git - gitea.git/commitdiff
Update documents to fix some links (#26885)
authorLunny Xiao <xiaolunwen@gmail.com>
Sun, 3 Sep 2023 18:45:20 +0000 (02:45 +0800)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2023 18:45:20 +0000 (18:45 +0000)
docs/content/administration/external-renderers.en-us.md
docs/content/administration/https-support.en-us.md
docs/content/administration/https-support.zh-cn.md
docs/content/usage/labels.zh-cn.md
docs/content/usage/linked-references.en-us.md
docs/content/usage/linked-references.zh-cn.md
docs/content/usage/multi-factor-authentication.en-us.md
docs/content/usage/pull-request.en-us.md
docs/content/usage/pull-request.zh-cn.md
docs/content/usage/pull-request.zh-tw.md

index f903a7e76053558253972eabeca782a2406af0ed..1e41b801454a31334b2a35660d5b85ac0ca9032f 100644 (file)
@@ -24,7 +24,7 @@ it is just a matter of:
 - add some configuration to your `app.ini` file
 - restart your Gitea instance
 
-This supports rendering of whole files. If you want to render code blocks in markdown you would need to do something with javascript. See some examples on the [Customizing Gitea](../customizing-gitea) page.
+This supports rendering of whole files. If you want to render code blocks in markdown you would need to do something with javascript. See some examples on the [Customizing Gitea](administration/customizing-gitea.md) page.
 
 ## Installing external binaries
 
index 6441663c851a8fe393534fc99f1e447168ae29be..4e18722ddf140f6ea494f56a01dcc8d756e78174 100644 (file)
@@ -36,7 +36,7 @@ KEY_FILE  = key.pem
 ```
 
 Note that if your certificate is signed by a third party certificate authority (i.e. not self-signed), then cert.pem should contain the certificate chain. The server certificate must be the first entry in cert.pem, followed by the intermediaries in order (if any). The root certificate does not have to be included because the connecting client must already have it in order to estalbish the trust relationship.
-To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server-server).
+To learn more about the config values, please checkout the [Config Cheat Sheet](administration/config-cheat-sheet.md#server-server).
 
 For the `CERT_FILE` or `KEY_FILE` field, the file path is relative to the `GITEA_CUSTOM` environment variable when it is a relative path. It can be an absolute path as well.
 
@@ -85,11 +85,11 @@ ACME_DIRECTORY=https
 ACME_EMAIL=email@example.com
 ```
 
-To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server-server).
+To learn more about the config values, please checkout the [Config Cheat Sheet](administration/config-cheat-sheet.md#server-server).
 
 ## Using a reverse proxy
 
-Setup up your reverse proxy as shown in the [reverse proxy guide](../reverse-proxies).
+Setup up your reverse proxy as shown in the [reverse proxy guide](administration/reverse-proxies.md).
 
 After that, enable HTTPS by following one of these guides:
 
index 124242f7441e59e0059274ddc1ce3d91f32d37d8..add7906cc62cf42ee0e0cc4ed80b09dfa15a03c8 100644 (file)
@@ -82,11 +82,11 @@ ACME_DIRECTORY=https
 ACME_EMAIL=email@example.com
 ```
 
-要了解关于配置, 请访问 [配置备忘单](../config-cheat-sheet#server-server)获取更多信息
+要了解关于配置, 请访问 [配置备忘单](administration/config-cheat-sheet.md#server-server)获取更多信息
 
 ## 使用反向代理服务器
 
-按照 [reverse proxy guide](../reverse-proxies) 的规则设置你的反向代理服务器
+按照 [reverse proxy guide](administration/reverse-proxies.md) 的规则设置你的反向代理服务器
 
 然后,按照下面的向导启用 HTTPS:
 
index 27c7d84fbd3556793ba83633d4dbf8d21db07dca..b9cf39304e96a7659e2d064c33fd55ec259c5fe5 100644 (file)
@@ -27,7 +27,7 @@ menu:
 
 标签具有必填的名称和颜色,可选的描述,以及必须是独占的或非独占的(见下面的“作用域标签”)。
 
-当您创建一个仓库时,可以通过使用 `工单标签(Issue Labels)` 选项来选择标签集。该选项列出了一些在您的实例上 [全局配置的可用标签集](../administration/customizing-gitea/#labels)。在创建仓库时,这些标签也将被创建。
+当您创建一个仓库时,可以通过使用 `工单标签(Issue Labels)` 选项来选择标签集。该选项列出了一些在您的实例上 [全局配置的可用标签集](administration/customizing-gitea.md#labels)。在创建仓库时,这些标签也将被创建。
 
 ## 作用域标签
 
index a05a07a95eb86ef5e5557d0a31b851c0b8e71aa8..a0acb0242d5c6dac937dfbae3924830650baa47a 100644 (file)
@@ -94,7 +94,7 @@ Sometimes a commit or pull request may fix or bring back a problem documented
 in a particular issue. Gitea supports closing and reopening the referenced
 issues by preceding the reference with a particular _keyword_. Common keywords
 include "closes", "fixes", "reopens", etc. This list can be
-[customized]({{< ref "doc/administration/config-cheat-sheet.en-us.md" >}}) by the
+[customized](administration/config-cheat-sheet.md) by the
 site administrator.
 
 Example:
index 3cc8dca0b4f23a4bb755d95af4822503629e8447..4d63d7540668d9ae0d005518562a08f53cdb26ad 100644 (file)
@@ -66,7 +66,7 @@ menu:
 
 ## 可操作的引用在合并请求和提交消息中
 
-有时,一个提交或合并请求可能会修复或重新出现在某个特定工单中。Gitea 支持在引用之前加上特定的“关键字”来关闭和重新打开被引用的工单。常见的关键字包括“closes”、“fixes”、“reopens”等。这个列表可以由站点管理员进行 [自定义]({{< ref "doc/administration/config-cheat-sheet.zh-cn.md" >}})。
+有时,一个提交或合并请求可能会修复或重新出现在某个特定工单中。Gitea 支持在引用之前加上特定的“关键字”来关闭和重新打开被引用的工单。常见的关键字包括“closes”、“fixes”、“reopens”等。这个列表可以由站点管理员进行 [自定义](administration/config-cheat-sheet.md)。
 
 示例:
 
index 16b57b7bdca74a9e55a802ac8e691540ceaf7535..30323f6de50525ab0d011de3eb55785736b830af 100644 (file)
@@ -1,6 +1,6 @@
 ---
 date: "2023-08-22T14:21:00+08:00"
-title: "Usage: Multi-factor Authentication (MFA)"
+title: "Multi-factor Authentication (MFA)"
 slug: "multi-factor-authentication"
 weight: 15
 toc: false
index 8c94ee68c8c684124a87ce5a5e6f0df200e14045..0176d0af9744d500dcdb4386209d651eee66ccef 100644 (file)
@@ -66,4 +66,4 @@ The first value of the list will be used in helpers.
 
 ## Pull Request Templates
 
-You can find more information about pull request templates at the page [Issue and Pull Request templates](issue-pull-request-templates).
+You can find more information about pull request templates at the page [Issue and Pull Request templates](usage/issue-pull-request-templates.md).
index 0a8cf55dfff4b85332b4912599f2bab2a8eeddbb..a8f00dbd39093c7375adec079ddc7f3e9351f9d0 100644 (file)
@@ -66,4 +66,4 @@ WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]
 
 ## 合并请求模板
 
-有关合并请求模板的更多信息请您移步 : [工单与合并请求模板](issue-pull-request-templates)
+有关合并请求模板的更多信息请您移步 : [工单与合并请求模板](usage/issue-pull-request-templates.md)
index 14d1b4950114e7903dfab056752a259e8d15f2ea..aeb5df52358bfbed0a7f498b6ca25f01149d01d2 100644 (file)
@@ -31,4 +31,4 @@ WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]
 
 ## 合併請求範本
 
-您可以在[問題與合併請求範本](issue-pull-request-templates)找到更多關於合併請求範本的資訊。
+您可以在[問題與合併請求範本](usage/issue-pull-request-templates.md)找到更多關於合併請求範本的資訊。