Skip to content

Commit 8738181

Browse files
fix: Unwrap Annotated regardless of signature_crossrefs
Issue-249: mkdocstrings/python#249
1 parent ea757e3 commit 8738181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Context:
4747
{#- Prepare type annotation. -#}
4848
{%- if config.show_signature_annotations and parameter.annotation is not none -%}
4949
{%- set ns.equal = " = " -%}
50-
{%- if config.separate_signature and config.signature_crossrefs -%}
50+
{%- if config.separate_signature -%}
5151
{%- with expression = parameter.annotation -%}
5252
{%- set ns.annotation -%}: {% include "expression"|get_template with context %}{%- endset -%}
5353
{%- endwith -%}

0 commit comments

Comments
 (0)