File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
{% if context .history .unreleased | length > 0 %}
3
3
{# UNRELEASED #}
4
4
## Unreleased
5
- {% for type_ , commits in context .history .unreleased | dictsort %}
5
+ {% for type_ , commits in context .history .unreleased | dictsort %}{% if type_ == "enh" %}
6
+ ### {{ "Enhancements" | capitalize }}
7
+ {% else %}
6
8
### {{ type_ | capitalize }}
7
- {% for commit in commits %}{% if type_ != "unknown" %}
9
+ {% endif %}{% for commit in commits %}{% if type_ != "unknown" %}
8
10
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
9
11
{% else %}
10
12
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
11
13
{% endif %}{% endfor %}{% endfor %}{% endif %}
12
14
{% for version , release in context .history .released .items () %}
13
15
{# RELEASED #}
14
16
## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
15
- {% for type_ , commits in release ["elements" ] | dictsort %}
17
+ {% for type_ , commits in release ["elements" ] | dictsort %}{% if type_ == "enh" %}
18
+ ### {{ "Enhancements" | capitalize }}
19
+ {% else %}
16
20
### {{ type_ | capitalize }}
17
- {% for commit in commits %}{% if type_ != "unknown" %}
21
+ {% endif %}{% for commit in commits %}{% if type_ != "unknown" %}
18
22
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
19
23
{% else %}
20
24
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
You can’t perform that action at this time.
0 commit comments