Skip to content

Commit d809f1a

Browse files
committed
fix: Unwrap Annotated regardless of signature_crossrefs
Issue-249: #249
1 parent b557ff3 commit d809f1a

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

+1-1
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)