docs(color): fix unexpected API page links (#9338)

This commit is contained in:
Victor Wheeler
2025-12-20 00:12:25 -07:00
committed by GitHub
parent 03c43fea76
commit d2bbbcc854
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ def _process_end_of_eligible_doc(b: str, rst_file: str) -> (str, str, int):
links_added_count = len(genned_link_set)
if links_added_count > 0:
c = _auto_gen_sep + '\n\n'
c = '\n' + _auto_gen_sep + '\n\n'
for link_name in sorted(genned_link_set, key=_hyperlink_sort_value):
c += ':ref:`' + link_name + '`\n\n'