mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 18:27:41 +00:00
Add missing doc from main repository (#4)
Copy from https://github.com/go-gitea/gitea/pull/31211/files Author: @MaxWipfli Add missing documentation for https://github.com/go-gitea/gitea/pull/30268 Reviewed-on: https://gitea.com/gitea/docs/pulls/4
This commit is contained in:
@@ -5,8 +5,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
schedule:
|
|
||||||
- cron: '0 */6 * * *' # every six hours on the hour
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-docs:
|
build-docs:
|
||||||
|
|||||||
@@ -270,6 +270,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
|
|||||||
### UI - CSV Files (`ui.csv`)
|
### UI - CSV Files (`ui.csv`)
|
||||||
|
|
||||||
- `MAX_FILE_SIZE`: **524288** (512kb): Maximum allowed file size in bytes to render CSV files as table. (Set to 0 for no limit).
|
- `MAX_FILE_SIZE`: **524288** (512kb): Maximum allowed file size in bytes to render CSV files as table. (Set to 0 for no limit).
|
||||||
|
- `MAX_ROWS`: **2500** : Maximum allowed rows to render CSV files. (Set to 0 for no limit)
|
||||||
|
|
||||||
## Markdown (`markdown`)
|
## Markdown (`markdown`)
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,8 @@ You can use the following variables enclosed in `${}` inside these templates whi
|
|||||||
- PullRequestIndex: Pull request's index number
|
- PullRequestIndex: Pull request's index number
|
||||||
- PullRequestReference: Pull request's reference char with index number. i.e. #1, !2
|
- PullRequestReference: Pull request's reference char with index number. i.e. #1, !2
|
||||||
- ClosingIssues: return a string contains all issues which will be closed by this pull request i.e. `close #1, close #2`
|
- ClosingIssues: return a string contains all issues which will be closed by this pull request i.e. `close #1, close #2`
|
||||||
|
- ReviewedOn: Which pull request this commit belongs to. For example `Reviewed-on: https://gitea.com/foo/bar/pulls/1`
|
||||||
|
- ReviewedBy: Who approved the pull request before the merge. For example `Reviewed-by: Jane Doe <jane.doe@example.com>`
|
||||||
|
|
||||||
## Rebase
|
## Rebase
|
||||||
|
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ menu:
|
|||||||
### 界面 - CSV Files (`ui.csv`)
|
### 界面 - CSV Files (`ui.csv`)
|
||||||
|
|
||||||
- `MAX_FILE_SIZE`: **524288** (512kb): 以字节为单位允许将CSV文件呈现为表格的最大文件大小(将其设置为0表示没有限制)。
|
- `MAX_FILE_SIZE`: **524288** (512kb): 以字节为单位允许将CSV文件呈现为表格的最大文件大小(将其设置为0表示没有限制)。
|
||||||
|
- `MAX_ROWS`: **2500** : 最大允许的 CSV 文件行数。 (设置为 0 不限制)
|
||||||
|
|
||||||
## Markdown (`markdown`)
|
## Markdown (`markdown`)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: "2023-05-23T09:00:00+08:00"
|
date: "2023-05-23T09:00:00+08:00"
|
||||||
title: "合并消息模板"
|
|
||||||
slug: "merge-message-templates"
|
slug: "merge-message-templates"
|
||||||
sidebar_position: 15
|
sidebar_position: 15
|
||||||
toc: false
|
toc: false
|
||||||
@@ -44,6 +43,8 @@ PR 默认合并消息模板可能的文件名:
|
|||||||
- PullRequestIndex:合并请求的索引号
|
- PullRequestIndex:合并请求的索引号
|
||||||
- PullRequestReference:合并请求的引用字符与索引号。例如,#1、!2
|
- PullRequestReference:合并请求的引用字符与索引号。例如,#1、!2
|
||||||
- ClosingIssues:返回一个包含将由此合并请求关闭的所有工单的字符串。例如 `close #1, close #2`
|
- ClosingIssues:返回一个包含将由此合并请求关闭的所有工单的字符串。例如 `close #1, close #2`
|
||||||
|
- ReviewedOn: 该提交所属的合并请求。例如: `Reviewed-on: https://gitea.com/foo/bar/pulls/1`
|
||||||
|
- ReviewedBy: 谁同意的此合并请求。例如: `Reviewed-by: Jane Doe <jane.doe@example.com>`
|
||||||
|
|
||||||
## 变基(Rebase)
|
## 变基(Rebase)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user