docs(1-level TOC styling): multiple fixes... (#8431)

This commit is contained in:
Victor Wheeler
2025-06-24 02:03:47 -06:00
committed by GitHub
parent 6b34873c96
commit 56daedd2ff
11 changed files with 48 additions and 46 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ def _create_rst_files_for_dir(src_root_dir_len: int,
f.write(subdir_stem + '\n')
f.write(section_line)
f.write('\n')
f.write('.. toctree::\n :maxdepth: 1\n\n')
f.write('.. toctree::\n :maxdepth: 1\n :class: toctree-1-deep\n\n')
# One entry per `.rst` file
for h_file in elig_h_files: