diff --git a/CHANGES b/CHANGES index 0aa82cf49..b463bb81f 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,7 @@ Bugs fixed ---------- * #4019: inheritance_diagram AttributeError stoping make process +* #4531: autosummary: methods are not treated as attributes Testing -------- diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index d9cb7b5df..2818ab3c7 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -229,7 +229,7 @@ def generate_autosummary_docs(sources, output_dir=None, suffix='.rst', generate_autosummary_docs(new_files, output_dir=output_dir, suffix=suffix, warn=warn, info=info, base_path=base_path, builder=builder, - template_dir=template_dir) + template_dir=template_dir, app=app) # -- Finding documented entries in files ---------------------------------------