Macro Rendering Error
File: reference/event-data/event-types/clearance.md
ValueError: Unsupported annotation type: for Team | None
| Traceback (most recent call last):
File "/opt/buildhome/.local/share/mise/installs/python/3.12.12/lib/python3.12/site-packages/mkdocs_macros/plugin.py", line 527, in render
return md_template.render(**page_variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/buildhome/.local/share/mise/installs/python/3.12.12/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
File "/opt/buildhome/.local/share/mise/installs/python/3.12.12/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 3, in top-level template code
File "/opt/build/repo/docs/macros.py", line 356, in render_event_type
data += [[obj_id] + _create_attribute_row(attr)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/build/repo/docs/macros.py", line 303, in _create_attribute_row
+ annotation_to_md(attr_annotation)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/build/repo/docs/macros.py", line 149, in annotation_to_md
raise ValueError(
ValueError: Unsupported annotation type: <class 'griffe._internal.expressions.ExprBinOp'> for Team | None
|