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 10ded39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Michael Birtwell
Michael Droettboom
Michael Seifert
Michal Wajszczuk
Mihai Capotă
Mike Lundy
Ned Batchelder
Neven Mundar
Expand Down
1 change: 1 addition & 0 deletions changelog/2620.trivial
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Show multiple issue links in CHANGELOG entries.
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 10ded39

Please sign in to comment.