The autosummary method `generate_autosummary_docs` by default grabs all 
methods of a class including inherited methods. 

I am unfamiliar with the proper way to contribute a possible change so I 
thought I would post it here.

Changing Line 143 from

for name in dir(obj):

to

for name in vars(obj):

This ensures only the members of current module, class, etc will be 
documented, rather than all inherited ones.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/tCgSvNbcGCIJ.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to