Add missing descriptions-group to annotation descriptions

This commit is contained in:
Cyril B.
2025-09-05 17:34:39 +02:00
parent 4ed8c45abd
commit c7d0cb8072

View File

@ -1199,6 +1199,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
# Annotation descriptions
if len(class_def.annotations) > 0:
f.write(make_separator(True))
f.write(".. rst-class:: classref-descriptions-group\n\n")
f.write(make_heading("Annotations", "-"))
index = 0