This repository was archived by the owner on Sep 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed
Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 1+ {% if top_line %}
2+ {{ top_line }}
3+ {{ top_underline * ((top_line)|length)}}
4+ {% elif versiondata.name %}
5+ {{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }})
6+ {{ top_underline * ((versiondata.name + versiondata.version + versiondata.date)|length + 4)}}
7+ {% else %}
8+ {{ versiondata.version }} ({{ versiondata.date }})
9+ {{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}}
10+ {% endif %}
111{% for section, _ in sections.items() %}
212{% set underline = underlines[0] %}{% if section %}{{section}}
313{{ underline * section|length }}{% set underline = underlines[1] %}
14+
415{% endif %}
16+
517{% if sections[section] %}
618{% for category, val in definitions.items() if category in sections[section]%}
7-
819{{ definitions[category]['name'] }}
920{{ underline * definitions[category]['name']|length }}
1021
1122{% if definitions[category]['showcontent'] %}
1223{% for text, values in sections[section][category].items() %}
1324* {{ text }} ({{ values|join(', ') }})
1425{% endfor %}
26+
1527{% else %}
1628* {{ sections[section][category]['']|join(', ') }}
29+
1730{% endif %}
1831{% if sections[section][category]|length == 0 %}
1932No significant changes.
33+
34+ {% else %}
2035{% endif %}
36+
2137{% endfor %}
2238{% else %}
23-
2439No significant changes.
40+
2541{% endif %}
26- {% endfor %}
42+ {% endfor %}
Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ build-backend = "setuptools.build_meta"
88[tool .towncrier ]
99directory = " changes"
1010package = " gbulb"
11+ package_dir = " src"
1112filename = " CHANGELOG.rst"
1213title_format = " {version} ({project_date})"
13- issue_format = " `#{issue} <https://github.com/beeware/gbulb/issues/{issue}>`_ "
14+ issue_format = " `#{issue} <https://github.com/beeware/gbulb/issues/{issue}>`__ "
1415template = " changes/template.rst"
1516underlines = [" -" , " ^" , " \" " ]
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ commands =
3333[testenv:towncrier]
3434skip_install = True
3535deps =
36- towncrier >= 18.5 .0
36+ towncrier == 21.9 .0
3737commands =
38- towncrier {posargs}
38+ towncrier build {posargs}
3939
4040[testenv:docs]
4141deps =
You can’t perform that action at this time.
0 commit comments