automodule inherited methods cannot be disabled

Ian Bell avatarIan Bell created an issue

I have a project that inherits a number of wx.Panel wxpython classes (amongst other wxpython classes), and I use sphinx-apidoc to generate the API documentation. Even when I go into the .rst files and add the property :no-inherited-methods: to each automodule generated, I cannot turn off the inherited methods (and there are a HUGE number of them). This makes the documentation essentially useless since you have to sort through hundreds of inherited methods to find the two that you actually implemented.

I have also tried to set

autodoc_default_flags = ['members','no-inherited-members','show-inheritance']

in my configuration file to no avail. There does not seem to be any way to turn off inherited methods at all.

I think this is a bug because the default behavior (at least according to http://sphinx.pocoo.org/ext/autodoc.html) should be to NOT display inherited methods.

I'm at my wit's end.

FYI, I am python 2.7, windows 7 64-bit, Sphinx 1.1.3

Comments (0)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.