1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/docs/content
Max Wipfli da4bbc4247
Allow including Reviewed-on/Reviewed-by lines for custom merge messages (#31211)
This PR introduces the `ReviewedOn` and `ReviewedBy` variables for the
default merge message templates (e.g.,
`.gitea/default_merge_message/MERGE_TEMPLATE.md`).

This allows customizing the default merge messages while retaining these
trailers.

This also moves the associated logic out of `pull.tmpl` into the
relevant Go function.

This is a first contribution towards #11077.

---

For illustration, this allows to recreate the "default default" merge
message with the following template:
```
.gitea/default_merge_message/MERGE_TEMPLATE.md
Merge pull request '${PullRequestTitle}' (${PullRequestReference}) from ${HeadBranch} into ${BaseBranch}

${ReviewedOn}
${ReviewedBy}
```
2024-06-06 08:35:04 +00:00
..
administration Add option for mailer to override mail headers (#27860) 2024-06-03 20:42:52 +02:00
contributing Replace gt-word-break with tw-break-anywhere (#31183) 2024-06-04 13:57:11 +00:00
development Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
help Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
installation Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
usage Allow including Reviewed-on/Reviewed-by lines for custom merge messages (#31211) 2024-06-06 08:35:04 +00:00
actions.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.en-us.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
index.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
installation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
packages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.nl-nl.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.pt-br.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00