You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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}
```
8 months ago
..
administration Add option for mailer to override mail headers (#27860) 8 months ago
contributing Replace `gt-word-break` with `tw-break-anywhere` (#31183) 8 months ago
development Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 8 months ago
help Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 8 months ago
installation Rename project board -> column to make the UI less confusing (#30170) 8 months ago
usage Allow including `Reviewed-on`/`Reviewed-by` lines for custom merge messages (#31211) 8 months ago
actions.en-us.md Docusaurus-ify (#26051) 2 years ago
administration.en-us.md Docusaurus-ify (#26051) 2 years ago
administration.zh-cn.md Docusaurus-ify (#26051) 2 years ago
contributing.en-us.md Docusaurus-ify (#26051) 2 years ago
development.en-us.md Docusaurus-ify (#26051) 2 years ago
development.zh-cn.md Docusaurus-ify (#26051) 2 years ago
help.en-us.md Docusaurus-ify (#26051) 2 years ago
help.zh-cn.md Docusaurus-ify (#26051) 2 years ago
index.en-us.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 8 months ago
index.zh-cn.md Update zh-cn documentation (#26406) 1 year ago
installation.en-us.md Docusaurus-ify (#26051) 2 years ago
installation.zh-cn.md Docusaurus-ify (#26051) 2 years ago
packages.en-us.md Docusaurus-ify (#26051) 2 years ago
search.en-us.md Docusaurus-ify (#26051) 2 years ago
search.nl-nl.md Docusaurus-ify (#26051) 2 years ago
search.pt-br.md Docusaurus-ify (#26051) 2 years ago
search.zh-cn.md Docusaurus-ify (#26051) 2 years ago
usage.en-us.md Docusaurus-ify (#26051) 2 years ago
usage.zh-cn.md Docusaurus-ify (#26051) 2 years ago