Przeglądaj źródła

Merge pull request #110276 from Cykyrios/annotations-descriptions-group

make_rst.py: Add missing rst-class to annotation descriptions
Thaddeus Crews 3 tygodni temu
rodzic
commit
3315dd3c60
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      doc/tools/make_rst.py

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