diff options
| author | Paul Ganssle <paul@ganssle.io> | 2018-05-14 10:30:16 -0400 |
|---|---|---|
| committer | Paul Ganssle <paul@ganssle.io> | 2018-05-14 15:02:58 -0400 |
| commit | 5c90644b2d81207869cd21c052b223d984f30340 (patch) | |
| tree | 3d1bc86965869d8f4c5022a034d30a0c72563576 /towncrier_template.rst | |
| parent | 849d0616c3755588a60998ac286f8ff045eb1a95 (diff) | |
| download | python-setuptools-git-5c90644b2d81207869cd21c052b223d984f30340.tar.gz | |
Add configuration for towncrier
Diffstat (limited to 'towncrier_template.rst')
| -rw-r--r-- | towncrier_template.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/towncrier_template.rst b/towncrier_template.rst new file mode 100644 index 00000000..02b2882b --- /dev/null +++ b/towncrier_template.rst @@ -0,0 +1,27 @@ +{% for section, _ in sections.items() %} +{% set underline = underlines[0] %}{% if section %}{{section}} +{{ underline * section|length }} +{% endif %} +{% if sections[section] %} +{% for category, val in definitions.items() if category in sections[section]%} +{% if definitions[category]['showcontent'] %} +{% for text, values in sections[section][category].items() %} +* {{ values|join(', ') }}: {{ text }} +{% endfor %} + +{% else %} +* {{ sections[section][category]['']|join(', ') }} + +{% endif %} +{% if sections[section][category]|length == 0 %} +No significant changes. +{% else %} +{% endif %} +{% endfor %} + +{% else %} +No significant changes. + + +{% endif %} +{% endfor %} |
