From e6ca084aee670d8c7f6f4c094e78e566d6d149d0 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 2 Sep 2012 13:22:58 -0400 Subject: [PATCH] DOC: Remove inherited-members Sphinx role. Documenting inherited methods and attributes can lead to overly verbose docs. For example, the `Image` class, which subclasses ndarray, and various viewer-related classes, which subclass PyQt and Matplotlib classes, have hundreds of irrelevant methods added to the API docs. --- doc/tools/apigen.py | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/tools/apigen.py b/doc/tools/apigen.py index 0fd6c8c2..7e306dd8 100644 --- a/doc/tools/apigen.py +++ b/doc/tools/apigen.py @@ -300,7 +300,6 @@ class ApiDocWriter(object): ad += ' :members:\n' \ ' :undoc-members:\n' \ ' :show-inheritance:\n' \ - ' :inherited-members:\n' \ '\n' \ ' .. automethod:: __init__\n' # if multi_fx: