kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale-android
Add needed information for towncrier
rodzic
e96626b5cf
commit
6d5f6b4dff
|
@ -0,0 +1,29 @@
|
|||
|
||||
{% for section, _ in sections.items() %}
|
||||
{% if sections[section] %}
|
||||
{% for category, val in definitions.items() if category in sections[section]%}
|
||||
{{ definitions[category]['name'] }}:
|
||||
|
||||
{% if definitions[category]['showcontent'] %}
|
||||
{% for text in sections[section][category].keys()|sort() %}
|
||||
- {{ 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 %}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
[tool.towncrier]
|
||||
package = "changes"
|
||||
package_dir = ""
|
||||
filename = "CHANGELOG"
|
||||
directory = "changes/changelog.d/"
|
||||
start_string = ".. towncrier\n"
|
||||
template = "changes/template.rst"
|
||||
issue_format = ""
|
||||
title_format = "{version} (unreleased)"
|
||||
underlines = "-"
|
||||
|
||||
[[tool.towncrier.section]]
|
||||
path = ""
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "feature"
|
||||
name = "Features"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "enhancement"
|
||||
name = "Enhancements"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "bugfix"
|
||||
name = "Bugfixes"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "doc"
|
||||
name = "Documentation"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "i18n"
|
||||
name = "i18n"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "misc"
|
||||
name = "Other"
|
||||
showcontent = true
|
Ładowanie…
Reference in New Issue