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:
Lunny Xiao
2024-06-15 03:10:51 +00:00
parent ab2cdde840
commit 7e77e7fb39
5 changed files with 6 additions and 3 deletions

View File

@@ -5,8 +5,6 @@ on:
push:
branches:
- main
schedule:
- cron: '0 */6 * * *' # every six hours on the hour
jobs:
build-docs:

View File

@@ -270,6 +270,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
### 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_ROWS`: **2500** : Maximum allowed rows to render CSV files. (Set to 0 for no limit)
## Markdown (`markdown`)

View File

@@ -44,6 +44,8 @@ You can use the following variables enclosed in `${}` inside these templates whi
- PullRequestIndex: Pull request's index number
- 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`
- 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

View File

@@ -258,6 +258,7 @@ menu:
### 界面 - CSV Files (`ui.csv`)
- `MAX_FILE_SIZE`: **524288** (512kb): 以字节为单位允许将CSV文件呈现为表格的最大文件大小将其设置为0表示没有限制
- `MAX_ROWS`: **2500** : 最大允许的 CSV 文件行数。 (设置为 0 不限制)
## Markdown (`markdown`)

View File

@@ -1,6 +1,5 @@
---
date: "2023-05-23T09:00:00+08:00"
title: "合并消息模板"
slug: "merge-message-templates"
sidebar_position: 15
toc: false
@@ -44,6 +43,8 @@ PR 默认合并消息模板可能的文件名:
- PullRequestIndex合并请求的索引号
- PullRequestReference合并请求的引用字符与索引号。例如#1、!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