Skip to content

Commit cad53b4

Browse files
Disable napoleon generation of __init__ and private methods
This is handled by our custom template
1 parent 90bea22 commit cad53b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@
334334
# See https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html
335335
napoleon_google_docstring = True
336336
napoleon_numpy_docstring = False
337-
napoleon_include_init_with_doc = True
338-
napoleon_include_private_with_doc = True
337+
# napoleon_include_init_with_doc = False # Handled by our Sphinx template
338+
# napoleon_include_private_with_doc = False # Handled by our Sphinx template
339339
# napoleon_include_special_with_doc = True
340340
# napoleon_use_admonition_for_examples = False
341341
# napoleon_use_admonition_for_notes = False

0 commit comments

Comments
 (0)