diff --git a/docs/conf.py b/docs/conf.py index 72d742b7b..ef6b39536 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -102,9 +102,10 @@ # Generate the API documentation when building autosummary_generate = True autodoc_member_order = "bysource" +autoclass_content = "both" # include both class and __init__ docstrings napoleon_google_docstring = True # for pytorch lightning napoleon_numpy_docstring = True -napoleon_include_init_with_doc = False +napoleon_include_init_with_doc = True napoleon_use_rtype = True # separate entry generally helps readability napoleon_use_param = True napoleon_custom_sections = [("Params", "Parameters")]