Skip to content

Commit

Permalink
Show multiple issue links in CHANGELOG entries
Browse files Browse the repository at this point in the history
Restores the functionality removed in PR pytest-dev#2488.
  • Loading branch information
mihaic committed Jul 26, 2017
1 parent dd294aa commit 1bbb674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changelog/_template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category]|dictsort(by='value') %}
- {{ text }}{% if category != 'vendor' %} (`{{ values[0] }} <https://github.com/pytest-dev/pytest/issues/{{ values[0][1:] }}>`_){% endif %}
{% set issue_joiner = joiner(', ') %}
- {{ text }}{% if category != 'vendor' %} ({% for value in values|sort %}{{ issue_joiner() }}`{{ value }} <https://github.com/pytest-dev/pytest/issues/{{ value[1:] }}>`_{% endfor %}){% endif %}


{% endfor %}
Expand Down

0 comments on commit 1bbb674

Please sign in to comment.