Merging upstream version 0.14.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 11:39:09 +01:00
parent 082ce481df
commit 2265bd9c67
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
211 changed files with 12174 additions and 6401 deletions

View file

@ -0,0 +1,14 @@
{{ log.debug("Rendering examples section") }}
{% import "language.html" as lang with context %}
<details class="example" open>
<summary>{{ "Examples" | convert_markdown(heading_level +1, html_id, strip_paragraph=True) }}</summary>
{% for section_type, sub_section in section.value %}
{% if section_type.value == "text" %}
{{ sub_section|convert_markdown(heading_level, html_id) }}
{% elif section_type.value == "examples" %}
{{ sub_section|highlight(language="pycon", linenums=False) }}
{% endif %}
{% endfor %}
</details>