diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index 1b2b3e2afa4..a6c5dadb247 100755 --- a/doc/tools/make_rst.py +++ b/doc/tools/make_rst.py @@ -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