-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathtowncrier_template.j2
More file actions
43 lines (32 loc) · 1.26 KB
/
towncrier_template.j2
File metadata and controls
43 lines (32 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# v{{ versiondata.version.split(".")[:2] | join(".") }} Release Notes
This document describes all new features and changes in the release. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Release Overview
- Major features or milestones
- Changes to compatibility with Nautobot and/or other apps, libraries etc.
{% if render_title %}
## [v{{ versiondata.version }} ({{ versiondata.date }})](https://github.com/networktocode/diffsync/releases/tag/v{{ versiondata.version}})
{% endif %}
{% for section, _ in sections.items() %}
{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section] %}
{% if sections[section][category]|length != 0 %}
### {{ definitions[category]['name'] }}
{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
{% for item in text.split('\n') %}
{% if values %}
- {{ values|join(', ') }} - {{ item.strip() }}
{% else %}
- {{ item.strip() }}
{% endif %}
{% endfor %}
{% endfor %}
{% else %}
- {{ sections[section][category]['']|join(', ') }}
{% endif %}
{% endif %}
{% endfor %}
{% else %}
No significant changes.
{% endif %}
{% endfor %}