File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,11 @@ def render_notes(
8787 tag = note ["tag" ].lower ().capitalize ()
8888 if tag not in render_data ["releases" ][vers ]["notes" ]:
8989 render_data ["releases" ][vers ]["notes" ][tag ] = []
90- render_data ["releases" ][vers ]["notes" ][tag ].append (
91- note ["note" ].strip ()
92- )
90+ note_entry = {
91+ "text" : note ["note" ].strip (),
92+ "issues" : note .get ("issues" , []),
93+ }
94+ render_data ["releases" ][vers ]["notes" ][tag ].append (note_entry )
9395 render_data ["releases" ][vers ]["long_notes" ].append (note ["note" ].strip ())
9496 if "short_note" in note :
9597 tag = note ["tag" ].lower ().capitalize ()
Original file line number Diff line number Diff line change 11{% for tag, long_notes in notes.items() %}
22{{ tag }}:
33{%- for note in long_notes %}
4- - {{ note } }
4+ - {{ note.text }}{% if note.issues %} ({% for issue in note.issues %}#{{ issue }}{% if not loop.last %}, {% endif %}{% endfor %}){% endif % }
55{%- endfor %}
66
77{% endfor %}
You can’t perform that action at this time.
0 commit comments