diff --git a/doc/changelog.d/3786.documentation.md b/doc/changelog.d/3786.documentation.md new file mode 100644 index 0000000000..df3d4d5551 --- /dev/null +++ b/doc/changelog.d/3786.documentation.md @@ -0,0 +1 @@ +docs: update towncrier template \ No newline at end of file diff --git a/doc/changelog.d/changelog_template.jinja b/doc/changelog.d/changelog_template.jinja index a346bcd9d5..3ca0146b8a 100644 --- a/doc/changelog.d/changelog_template.jinja +++ b/doc/changelog.d/changelog_template.jinja @@ -1,17 +1,22 @@ {% if sections[""] %} -{% for category, val in definitions.items() if category in sections[""] %} -{{ definitions[category]['name'] }} -{% set underline = '^' * definitions[category]['name']|length %} -{{ underline }} +.. tab-set:: + +{%+ for category, val in definitions.items() if category in sections[""] %} + + .. tab-item:: {{ definitions[category]['name'] }} + + .. list-table:: + :header-rows: 0 + :widths: auto {% for text, values in sections[""][category].items() %} -- {{ text }} {{ values|join(', ') }} -{% endfor %} + * - {{ text }} + - {{ values|join(', ') }} {% endfor %} +{% endfor %} + {% else %} No significant changes. - - -{% endif %} \ No newline at end of file +{% endif %}