Add issue links to changelog template

This commit is contained in:
Bruno Oliveira
2017-07-05 21:16:30 -03:00
parent 5d757f9db3
commit a84b106a3b

View File

@@ -6,14 +6,14 @@
{% endif %} {% endif %}
{% if sections[section] %} {% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section] and category != 'trivial' %} {% for category, val in definitions.items() if category in sections[section] %}
{{ definitions[category]['name'] }} {{ definitions[category]['name'] }}
{{ underline * definitions[category]['name']|length }} {{ underline * definitions[category]['name']|length }}
{% if definitions[category]['showcontent'] %} {% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category]|dictsort(by='value') %} {% for text, values in sections[section][category]|dictsort(by='value') %}
- {{ text }}{% if category != 'vendor' %} ({{ values|sort|join(', ') }}){% endif %} - {{ text }}{% if category != 'vendor' %} (`{{ values[0] }} <https://github.com/pytest-dev/pytest-xdist/issues/{{ values[0][1:] }}>`_){% endif %}
{% endfor %} {% endfor %}