mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
docs: fix typos (#17600)
This commit is contained in:
parent
af75ec2508
commit
0ed0ece4af
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ The above (obviously not a complete `Dockerfile`, but abbreviated for this examp
|
||||||
|
|
||||||
In the above the `versioningTemplate` is not actually necessary because Renovate already defaults to `semver` versioning, but it has been included to help illustrate why we call these fields _templates_.
|
In the above the `versioningTemplate` is not actually necessary because Renovate already defaults to `semver` versioning, but it has been included to help illustrate why we call these fields _templates_.
|
||||||
They are named this way because they are compiled using Handlebars and so can be composed from values you collect in named capture groups.
|
They are named this way because they are compiled using Handlebars and so can be composed from values you collect in named capture groups.
|
||||||
You will usually want to use the tripe brace `{{{ }}}` template (e.v. `{{{versioning}}}` to be safe because Handlebars escapes special characters by default with double braces.
|
You will usually want to use the triple brace `{{{ }}}` template (e.g. `{{{versioning}}}`) to be safe because Handlebars escapes special characters by default with double braces.
|
||||||
|
|
||||||
By adding the comments to the `Dockerfile`, you can see that instead of four separate `regexManagers` being required, there is now only one - and the `Dockerfile` itself is now somewhat better documented too.
|
By adding the comments to the `Dockerfile`, you can see that instead of four separate `regexManagers` being required, there is now only one - and the `Dockerfile` itself is now somewhat better documented too.
|
||||||
The syntax we used there is completely arbitrary and you may choose your own instead if you prefer - just be sure to update your `matchStrings` regex.
|
The syntax we used there is completely arbitrary and you may choose your own instead if you prefer - just be sure to update your `matchStrings` regex.
|
||||||
|
|
Loading…
Reference in a new issue