Skip to content

Commit

Permalink
chore: docs eachUrlPart
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Jan 18, 2025
1 parent 0fb5a47 commit 7066c91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@ gitChangelogApi

Some [helpers](/src/main/java/se/bjurr/gitchangelog/api/helpers) are implemented in this library. And users can also add more helpers as described in [Handlebars](https://github.com/jknack/handlebars.java). If you add your own helpers, using Javascript, you will need to add a scriptengine like [Nashorn](https://central.sonatype.com/artifact/org.openjdk.nashorn/nashorn-core/overview) to your classpath.

### `eachUrlPart <Changelog>`

Loop each part of the URL.

```hbs
{{#eachUrlPart .}}
{{@index}}: {{.}}
{{/eachUrlPart}}
```

### `ifReleaseTag <Tag>`

Conditional, renders a block if given `Tag` matches release-tag.
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#Wed Jan 15 14:18:26 CST 2025
#Sat Jan 18 07:59:25 CET 2025
description='Library for parsing report files from static code analysis'
group=se.bjurr.gitchangelog
sourceCompatibility=17
targetCompatibility=17
version=2.4.2
version=2.5.0

0 comments on commit 7066c91

Please sign in to comment.