astropy / sphinx-automodapi

Sphinx extension for generating API documentation
https://sphinx-automodapi.readthedocs.io
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

No-inherited-members option ignored in a find_mod_objs call #49

Open janderil opened 6 years ago

janderil commented 6 years ago

In file sphinx_automodapi/automodsumm.py, there is a call to find_mod_objs that ignores the no-inherited-members flag. I don't know if this is correct or not, but in my use case, it does cause autodoc to process unwanted members when the flag is set.

https://github.com/astropy/sphinx-automodapi/blob/a856c2948129929aba83c4b26aee0a31ca530de2/sphinx_automodapi/automodsumm.py#L135