Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def __init__(self):
self.misc: list[Change] = []
self.features: list[Change] = []
self.breaking_changes: list[Change] = []
self.docs: list[Change] = []
self.other: list[Change] = []


Expand Down Expand Up @@ -936,6 +937,8 @@ def _get_changes_classified(
classified_changes.features.append(change)
elif type_of_change == TypeOfChange.BREAKING_CHANGE and with_breaking_changes:
classified_changes.breaking_changes.append(change)
elif type_of_change == TypeOfChange.DOCUMENTATION:
classified_changes.docs.append(change)
else:
classified_changes.other.append(change)
return classified_changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ Misc
{%- endif %}


{%- if classified_changes and classified_changes.docs %}

Doc-only
~~~~
{% for doc in classified_changes.docs %}
* ``{{ doc.message_without_backticks | safe }}``
{%- endfor %}
{%- endif %}


.. Below changes are excluded from the changelog. Move them to
appropriate section above if needed. Do not delete the lines(!):
{%- if classified_changes and classified_changes.other %}
Expand Down