Skip to content

Commit d41c349

Browse files
committed
Improve readability in Jinja templating guide by aligning lists and adding notes on file overwriting
1 parent fe2a180 commit d41c349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tools/logchange/templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ Place at `changelog/.templates/my-changelog.md`
189189
### Tips and gotchas
190190

191191
- File locations:
192-
- Templates are always loaded from changelog/.templates/<path>.
193-
- For changelog_templates, the output path is <repo_root>/<fileNameFromPath>.
194-
- For version_summary_templates, the output path is changelog/vX.Y.Z/<fileNameFromPath>.
192+
- Templates are always loaded from changelog/.templates/<path>.
193+
- For changelog_templates, the output path is <repo_root>/<fileNameFromPath>.
194+
- For version_summary_templates, the output path is changelog/vX.Y.Z/<fileNameFromPath>.
195195
- Start simple: you can rely on Java objects’ toString for ChangelogEntry ({{ entry }}) to get the default entry format.
196196
- Need HTML instead of Markdown? Use an .html extension in your template file name and write HTML.
197197
- Whitespace: Jinjava is configured with trimBlocks and lstripBlocks to make template whitespace predictable.

0 commit comments

Comments
 (0)