Commit 9aa758b 1 parent 38b317f commit 9aa758b Copy full SHA for 9aa758b
File tree 4 files changed +4
-4
lines changed
src/mkdocstrings_handlers/python/templates/material/_base
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 58
58
{% filter heading(heading_level,
59
59
role="data" if attribute.parent.kind.value == "module" else "attr",
60
60
id=html_id,
61
- toc_label=attribute.path if config.show_root_full_path else attribute. name,
61
+ toc_label=attribute.name,
62
62
hidden=True) %}
63
63
{% endfilter %}
64
64
{% endif %}
Original file line number Diff line number Diff line change 62
62
{% filter heading(heading_level,
63
63
role="class",
64
64
id=html_id,
65
- toc_label=class.path if config.show_root_full_path else class. name,
65
+ toc_label=class.name,
66
66
hidden=True) %}
67
67
{% endfilter %}
68
68
{% endif %}
Original file line number Diff line number Diff line change 56
56
{% filter heading(heading_level,
57
57
role="function",
58
58
id=html_id,
59
- toc_label=function.path if config.show_root_full_path else function. name,
59
+ toc_label=function.name,
60
60
hidden=True) %}
61
61
{% endfilter %}
62
62
{% endif %}
Original file line number Diff line number Diff line change 44
44
{% filter heading(heading_level,
45
45
role="module",
46
46
id=html_id,
47
- toc_label=module.path if config.show_root_full_path else module. name,
47
+ toc_label=module.name,
48
48
hidden=True) %}
49
49
{% endfilter %}
50
50
{% endif %}
You can’t perform that action at this time.
0 commit comments