This commit is contained in:
Nicolas 2025-06-09 16:02:33 +02:00
commit cba2dd690f
2 changed files with 1 additions and 2 deletions

View File

@ -30,4 +30,4 @@ html_theme = 'pydata_sphinx_theme'
html_static_path = ['_static'] html_static_path = ['_static']
autodoc_inherit_docstrings = True autodoc_inherit_docstrings = True
autoclass_content = 'both' autoclass_content = 'both'

View File

@ -61,7 +61,6 @@ def write_dochtree(f: TextIOWrapper, title: str, items: list[str]):
f.write('```{toctree}\n') f.write('```{toctree}\n')
f.write(':maxdepth: 1\n') f.write(':maxdepth: 1\n')
f.write(f':caption: {title}:\n') f.write(f':caption: {title}:\n')
#f.write(':hidden:\n')
for text in items: for text in items:
if not text.startswith('_'): if not text.startswith('_'):
f.write(f"{text}\n") f.write(f"{text}\n")