Skip to content

Commit

Permalink
Merge pull request #2620 from mihaic/multiple-issues-in-changelog
Browse files Browse the repository at this point in the history
Show multiple issue links in CHANGELOG entries
  • Loading branch information
nicoddemus authored Jul 26, 2017
2 parents dd294aa + 10ded39 commit 1a9bc14
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 1a9bc14

Please sign in to comment.