We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
show_signature_annotations
1 parent af6fab3 commit e93d166Copy full SHA for e93d166
src/mkdocstrings_handlers/python/templates/material/_base/attribute.html.jinja
@@ -52,7 +52,7 @@ Context:
52
<span class="doc doc-object-name doc-attribute-name">{{ attribute_name }}</span>
53
{% else %}
54
{%+ filter highlight(language="python", inline=True) %}
55
- {{ attribute_name }}{% if attribute.annotation %}: {{ attribute.annotation }}{% endif %}
+ {{ attribute_name }}{% if attribute.annotation and config.show_signature_annotations %}: {{ attribute.annotation }}{% endif %}
56
{% if attribute.value %} = {{ attribute.value }}{% endif %}
57
{% endfilter %}
58
{% endif %}
0 commit comments