chore: rename CHANGELOG to CHANGELOG.md

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2355>
environments/review-docs-renam-9oy3ia/deployments/17065
jo 2023-02-02 16:00:29 +01:00 zatwierdzone przez Marge
rodzic afe534db4a
commit 48383952c1
11 zmienionych plików z 8201 dodań i 8485 usunięć

Plik diff jest za duży Load Diff

Wyświetl plik

@ -0,0 +1 @@
Rename CHANGELOG to CHANGELOG.md

Wyświetl plik

@ -0,0 +1,28 @@
## {{ versiondata.version }} ({{ versiondata.date }})
Upgrade instructions are available at https://docs.funkwhale.audio/admin/upgrading.html
{% 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 %}

Wyświetl plik

@ -1,33 +0,0 @@
{{ versiondata.version }} ({{ versiondata.date }})
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}}
Upgrade instructions are available at
https://docs.funkwhale.audio/admin/upgrading.html
{% 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 %}

Wyświetl plik

@ -1 +1 @@
.. include:: ../CHANGELOG
.. include:: ../CHANGELOG.md

Wyświetl plik

@ -52,7 +52,7 @@ Once we're ready to release a new version of the software, we can use the follow
```sh
python3 scripts/get-contributions-stats.py $NEXT_RELEASE # Output a list of contributors
git log $PREVIOUS_RELEASE.. --format="- %aN" --reverse | sort | uniq # Get a list of all commit authors
nano CHANGELOG # Add these lists to the CHANGELOG
nano CHANGELOG.md # Add these lists to the CHANGELOG.md
```
7. Update the next release version

Wyświetl plik

@ -1,13 +1,13 @@
[tool.towncrier]
package = "changes"
package_dir = ""
filename = "CHANGELOG"
directory = "changes/changelog.d/"
start_string = ".. towncrier\n"
template = "changes/template.rst"
filename = "CHANGELOG.md"
directory = "changes/changelog.d"
start_string = "<!-- towncrier -->\n"
template = "changes/template.md.j2"
issue_format = ""
title_format = "{version} (unreleased)"
underlines = "-"
title_format = ""
underlines = [""]
[[tool.towncrier.section]]
path = ""