Skip to content

Commit e12688e

Browse files
committed
fix: Fix spacing for rendered named items in Yields, Receives and Returns sections (list style)
1 parent 9ff7e68 commit e12688e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% if receives.name %}<b>{{ receives.name }}</b>{% endif %}
4545
{% if receives.annotation %}
4646
{% with expression = receives.annotation %}
47-
{% if receives.name %}({% endif %}
47+
{% if receives.name %} ({% endif %}
4848
<code>{% include "expression.html" with context %}</code>
4949
{% if receives.name %}){% endif %}
5050
{% endwith %}

src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% if returns.name %}<b>{{ returns.name }}</b>{% endif %}
4545
{% if returns.annotation %}
4646
{% with expression = returns.annotation %}
47-
{% if returns.name %}({% endif %}
47+
{% if returns.name %} ({% endif %}
4848
<code>{% include "expression.html" with context %}</code>
4949
{% if returns.name %}){% endif %}
5050
{% endwith %}

src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% if yields.name %}<b>{{ yields.name }}</b>{% endif %}
4545
{% if yields.annotation %}
4646
{% with expression = yields.annotation %}
47-
{% if yields.name %}({% endif %}
47+
{% if yields.name %} ({% endif %}
4848
<code>{% include "expression.html" with context %}</code>
4949
{% if yields.name %}){% endif %}
5050
{% endwith %}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy