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

@@ -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