8000
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 9f8456a commit 11d81d8Copy full SHA for 11d81d8
pyproject.toml
@@ -29,7 +29,7 @@ classifiers = [
29
]
30
dependencies = [
31
"mkdocstrings>=0.24.2",
32
- "griffe>=0.37",
+ "griffe>=0.44",
33
34
35
[project.urls]
src/mkdocstrings_handlers/python/templates/material/_base/expression.html
@@ -29,7 +29,11 @@
{{ render(expression.slice.elements[0], annotations_path) }}
{%- elif expression.classname == "ExprAttribute" -%}
{%- if annotations_path == "brief" -%}
- {{ render(expression.last, "brief") }}
+ {%- if expression.last.is_enum_value -%}
+ {{ crossref(expression.last.parent, "brief") }}.value
+ {%- else -%}
+ {{ render(expression.last, "brief") }}
36
+ {%- endif -%}
37
{%- elif annotations_path == "full" -%}
38
{{ render(expression.first, "full") }}
39
{%- for element in expression -%}
0 commit comments