File tree 3 files changed +8
-8
lines changed
src/mkdocstrings_handlers/python/templates/material/_base
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 25
25
{% if config.separate_signature %}
26
26
< span class ="doc doc-object-name doc-attribute-name "> {% if show_full_path %}{{ attribute.path }}{% else %}{{ attribute.name }}{% endif %}</ span >
27
27
{% else %}
28
- {% filter highlight(language="python", inline=True) %}
28
+ {%+ filter highlight(language="python", inline=True) %}
29
29
{% if show_full_path %}{{ attribute.path }}{% else %}{{ attribute.name }}{% endif %}
30
30
{% if attribute.annotation %}: {{ attribute.annotation }}{% endif %}
31
31
{% if attribute.value %} = {{ attribute.value }}{% endif %}
Original file line number Diff line number Diff line change 24
24
{% block heading scoped %}
25
25
{% if config.separate_signature %}
26
26
< span class ="doc doc-object-name doc-class-name "> {% if show_full_path %}{{ class.path }}{% else %}{{ class.name }}{% endif %}</ span >
27
- {% elif config.merge_init_into_class and "__init__" in class.members - %}
28
- {%- with function = class.members["__init__"] - %}
29
- {%- filter highlight(language="python", inline=True) - %}
27
+ {% elif config.merge_init_into_class and "__init__" in class.members %}
28
+ {% with function = class.members["__init__"] %}
29
+ {%+ filter highlight(language="python", inline=True) %}
30
30
{% if show_full_path %}{{ class.path }}{% else %}{{ class.name }}{% endif %}
31
- {%- include "signature.html" with context - %}
32
- {%- endfilter - %}
33
- {%- endwith - %}
31
+ {% include "signature.html" with context %}
32
+ {% endfilter %}
33
+ {% endwith %}
34
34
{% else %}
35
35
< code > {% if show_full_path %}{{ class.path }}{% else %}{{ class.name }}{% endif %}</ code >
36
36
{% endif %}
Original file line number Diff line number Diff line change 27
27
{% if config.separate_signature %}
28
28
< span class ="doc doc-object-name doc-function-name "> {% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %}</ span >
29
29
{% else %}
30
- {% filter highlight(language="python", inline=True) %}
30
+ {%+ filter highlight(language="python", inline=True) %}
31
31
{% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %}
32
32
{% include "signature.html" with context %}
33
33
{% endfilter %}
You can’t perform that action at this time.
0 commit comments