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
administration.en-us.md
administration.zh-cn.md
contributing.en-us.md
development.en-us.md
development.zh-cn.md
help.en-us.md
help.zh-cn.md
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
installation.zh-cn.md
packages.en-us.md
search.en-us.md
search.nl-nl.md
search.pt-br.md
search.zh-cn.md
usage.en-us.md
usage.zh-cn.md