Skip to content

Commit b58a4b1

Browse files
committed
Remove extra headings from api pages
1 parent c83245c commit b58a4b1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

util/update_quick_index.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,6 @@ def process_directory(directory: Path, quick_index_file):
242242
quick_index_file.write(f" * - :py:class:`{full_class_name}`\n")
243243
quick_index_file.write(f" - {title}\n")
244244

245-
api_file.write(f"{full_class_name}\n")
246-
underline = "^" * len(full_class_name)
247-
api_file.write(f"{underline}\n\n")
248-
249245
api_file.write(f".. autoclass:: {full_class_name}\n")
250246
api_file.write(" :members:\n")
251247
# api_file.write(f" :member-order: groupwise\n")
@@ -270,10 +266,6 @@ def process_directory(directory: Path, quick_index_file):
270266
quick_index_file.write(f" * - :py:func:`{full_class_name}`\n")
271267
quick_index_file.write(f" - {title}\n")
272268

273-
api_file.write(f"{full_class_name}\n")
274-
underline = "^" * len(full_class_name)
275-
api_file.write(f"{underline}\n\n")
276-
277269
api_file.write(f".. autofunction:: {full_class_name}\n\n")
278270

279271
# print(f" Function {item}")

0 commit comments

Comments
 (0)