From cfadb1901f7b6910a8d451538c960c4a8138cdc8 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 23 May 2023 18:14:57 +0800 Subject: [PATCH] Remove unnecessary usage prefix from doc titles (#24869) As title. --- .../doc/administration/backup-and-restore.zh-cn.md | 2 +- docs/content/doc/administration/https-support.zh-cn.md | 2 +- .../doc/administration/reverse-proxies.zh-cn.md | 2 +- .../doc/usage/issue-pull-request-templates.zh-cn.md | 4 ++-- docs/content/doc/usage/profile-readme.en-us.md | 6 +++--- docs/content/doc/usage/pull-request.zh-cn.md | 10 +++++----- docs/content/doc/usage/push.en-us.md | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/content/doc/administration/backup-and-restore.zh-cn.md b/docs/content/doc/administration/backup-and-restore.zh-cn.md index 1a8f620a8d..89ae93923a 100644 --- a/docs/content/doc/administration/backup-and-restore.zh-cn.md +++ b/docs/content/doc/administration/backup-and-restore.zh-cn.md @@ -1,6 +1,6 @@ --- date: "2018-06-06T09:33:00+08:00" -title: "使用:备份与恢复" +title: "备份与恢复" slug: "backup-and-restore" weight: 11 toc: false diff --git a/docs/content/doc/administration/https-support.zh-cn.md b/docs/content/doc/administration/https-support.zh-cn.md index 3f55d022ec..c67776b9e6 100644 --- a/docs/content/doc/administration/https-support.zh-cn.md +++ b/docs/content/doc/administration/https-support.zh-cn.md @@ -1,6 +1,6 @@ --- date: "2023-04-09T11:00:00+02:00" -title: "使用: HTTPS配置" +title: "HTTPS配置" slug: "https-setup" weight: 12 toc: false diff --git a/docs/content/doc/administration/reverse-proxies.zh-cn.md b/docs/content/doc/administration/reverse-proxies.zh-cn.md index 6504f7209b..63c7c24985 100644 --- a/docs/content/doc/administration/reverse-proxies.zh-cn.md +++ b/docs/content/doc/administration/reverse-proxies.zh-cn.md @@ -1,6 +1,6 @@ --- date: "2018-05-22T11:00:00+00:00" -title: "使用:反向代理" +title: "反向代理" slug: "reverse-proxies" weight: 16 toc: false diff --git a/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md index 135dcf8de8..fa5b37126f 100644 --- a/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md +++ b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md @@ -1,6 +1,6 @@ --- date: "2022-09-07T16:00:00+08:00" -title: "使用:从模板创建工单与合并请求" +title: "工单与合并请求模板" slug: "issue-pull-request-templates" weight: 15 toc: true @@ -10,7 +10,7 @@ aliases: menu: sidebar: parent: "usage" - name: "从模板创建工单与合并请求" + name: "工单与合并请求模板" weight: 15 identifier: "issue-pull-request-templates" --- diff --git a/docs/content/doc/usage/profile-readme.en-us.md b/docs/content/doc/usage/profile-readme.en-us.md index 802451f0b6..a290eadbb1 100644 --- a/docs/content/doc/usage/profile-readme.en-us.md +++ b/docs/content/doc/usage/profile-readme.en-us.md @@ -1,6 +1,6 @@ --- date: "2023-03-02T21:00:00+05:00" -title: "Usage: Gitea Profile READMEs" +title: "Profile READMEs" slug: "profile-readme" weight: 12 toc: false @@ -8,12 +8,12 @@ draft: false menu: sidebar: parent: "usage" - name: "Gitea Profile READMEs" + name: "Profile READMEs" weight: 12 identifier: "profile-readme" --- -# Gitea Profile READMEs +# Profile READMEs To display a markdown file in your Gitea profile page, simply make a repository named ".profile" and edit the README.md file inside. Gitea will automatically pull this file in and display it above your repositories. diff --git a/docs/content/doc/usage/pull-request.zh-cn.md b/docs/content/doc/usage/pull-request.zh-cn.md index d64690c05e..baf57787c8 100644 --- a/docs/content/doc/usage/pull-request.zh-cn.md +++ b/docs/content/doc/usage/pull-request.zh-cn.md @@ -1,6 +1,6 @@ --- date: "2018-06-01T19:00:00+02:00" -title: "使用:Pull Request" +title: "合并请求" slug: "pull-request" weight: 13 toc: false @@ -15,9 +15,9 @@ menu: identifier: "pull-request" --- -# Pull Request +# 合并请求 -## 在 pull requests 使用“Work In Progress”标记 +## 在`合并请求`中使用“Work In Progress”标记 您可以通过在一个进行中的 pull request 的标题上添加前缀 `WIP:` 或者 `[WIP]`(此处大小写敏感)来防止它被意外合并,具体的前缀设置可以在配置文件 `app.ini` 中找到: @@ -28,6 +28,6 @@ WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP] 列表的第一个值将用于 helpers 程序。 -## Pull Request 模板 +## 合并请求模板 -有关 pull request 模板的更多信息请您移步 : [Issue and Pull Request templates](../issue-pull-request-templates) +有关合并请求模板的更多信息请您移步 : [工单与合并请求模板](issue-pull-request-templates) diff --git a/docs/content/doc/usage/push.en-us.md b/docs/content/doc/usage/push.en-us.md index 097b07c9b4..45190d88ca 100644 --- a/docs/content/doc/usage/push.en-us.md +++ b/docs/content/doc/usage/push.en-us.md @@ -1,6 +1,6 @@ --- date: "2020-07-06T16:00:00+02:00" -title: "Usage: Push" +title: "Push" slug: "push" weight: 15 toc: false