Skip to content

Commit 9ef620f

Browse files
committed
fix: Don't show implementation signature of __init__ method when
`overloads_only` is true and it is merged into the class Issue-308: #308
1 parent 2d3f75a commit 9ef620f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Context:
107107
{% endfor %}
108108
</div>
109109
{% endif %}
110-
{% if config.separate_signature %}
110+
{% if config.separate_signature and not (config.show_overloads and function.overloads and config.overloads_only) %}
111111
{% filter format_signature(function, config.line_length, crossrefs=config.signature_crossrefs) %}
112112
{{ class.name }}
113113
{% endfilter %}

0 commit comments

Comments
 (0)