8000 fix: Fix spacing for rendered named items in Yields, Receives and Ret… · mkdocstrings/python@e12688e · GitHub
[go: up one dir, main page]

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 a 8000 ddition & 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)
0