Debian Codegraph @

doc/whatsnew/fragments/_template.rst

raw
1 {% set title = "What's new in Pylint " + versiondata.version + "?" %}
2 {{ title }}
3 {{ underlines[0] * (title|length) }}
4 Release date: {{ versiondata.date }}
5
6 {% for section, _ in sections.items() %}
7 {% set underline = underlines[0] %}{% if section %}{{section}}
8 {{ underline * section|length }}{% set underline = underlines[1] %}
9
10 {% endif %}
11
12 {% if sections[section] %}
13 {% for category, val in definitions.items() if category in sections[section]%}
14 {{ definitions[category]['name'] }}
15 {{ underline * definitions[category]['name']|length }}
16
17 {% if definitions[category]['showcontent'] %}
18 {% for text, values in sections[section][category].items() %}
19 - {{ text }} ({{ values|join(', ') }})
20
21 {% endfor %}
22
23 {% else %}
24 - {{ sections[section][category]['']|join(', ') }}
25
26 {% endif %}
27 {% if sections[section][category]|length == 0 %}
28 No significant changes.
29
30 {% else %}
31 {% endif %}
32
33 {% endfor %}
34 {% else %}
35 No significant changes.
36
37
38 {% endif %}
39 {% endfor %}