Skip to content

Commit 91f9a12

Browse files
committed
Restore Attribute symbol type in mkdocstrings template
1 parent 6425ffc commit 91f9a12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/templates/python/nature/attribute.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
{% block heading scoped %}
44
<a class="doc-source-link" href="{{ config.source.repo }}/tree/{{ config.source.tag }}/{{ attribute.filepath }}#L{{ attribute.lineno }}{% if attribute.endlineno > attribute.lineno %}-L{{ attribute.endlineno }}{% endif %}" title='View source code on GitHub'>&lsaquo;&rsaquo;</a>
5+
{% if config.show_symbol_type_heading %}<code class="doc-symbol doc-symbol-heading doc-symbol-attribute"></code>{% endif %}
56
{%+ filter highlight(language="python", inline=True) %}
67
{{ attribute_name }}{% if attribute.annotation %}: {{ attribute.annotation }}{% endif %}
78
{% endfilter %}

0 commit comments

Comments
 (0)