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.
1 parent a6ed28c commit eed51eeCopy full SHA for eed51ee
src/mkdocstrings_handlers/python/templates/material/_base/expression.html
@@ -8,9 +8,13 @@
8
{%- set annotation = full -%}
9
{%- endif -%}
10
{%- for title, path in annotation|split_path(full) -%}
11
- {%- filter stash_crossref(length=title|length) -%}
12
- <span data-autorefs-optional{% if title != path %}-hover{% endif %}="{{ path }}">{{ title }}</span>
13
- {%- endfilter -%}
+ {%- if not signature or config.signature_crossrefs -%}
+ {%- filter stash_crossref(length=title|length) -%}
+ <span data-autorefs-optional{% if title != path %}-hover{% endif %}="{{ path }}">{{ title }}</span>
14
+ {%- endfilter -%}
15
+ {%- else -%}
16
+ {{ title }}
17
+ {%- endif -%}
18
{%- if not loop.last -%}.{%- endif -%}
19
{%- endfor -%}
20
{%- endwith -%}
0 commit comments