Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
Fixed a formating issue with missing line breaks and added proper
permalink ids for the changelog entries.

[noissue]
  • Loading branch information
mdellweg committed Mar 18, 2024
1 parent e234a2e commit 8548a98
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 198 deletions.
7 changes: 5 additions & 2 deletions CHANGES/.TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@

{# TOWNCRIER TEMPLATE #}
{% for section, _ in sections.items() %}
{% if section %}### {{section}}
{%- set section_slug = "-" + section|replace(" ", "-")|replace("_", "-")|lower %}
{% if section %}### {{section}} {: #{{versiondata.version}}{{section_slug}} }

{% else %}
{%- set section_slug = "" %}
{% endif %}

{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
#### {{ definitions[category]['name'] }}
#### {{ definitions[category]['name'] }} {: #{{versiondata.version}}{{section_slug}}-{{category}} }

{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
Expand Down
Loading

0 comments on commit 8548a98

Please sign in to comment.