Fix #1061, #2336, #3235: Now generation of autosummary doesn't contain imported members by default. Thanks to Luc Saffre.

This commit is contained in:
shimizukawa committed 2016-12-14 00:51:12 +09:00
1 parent 60ae8437af
commit 938d44e2de
2 files changed
+3 -1

No files matched your search

+3
View File
@@ -4,6 +4,9 @@ Release 1.6 (in development)
Incompatible changes
--------------------
* #1061, #2336, #3235: Now generation of autosummary doesn't contain imported
members by default. Thanks to Luc Saffre.
Features added
--------------
-1
View File
@@ -176,7 +176,6 @@ def generate_autosummary_docs(sources, output_dir=None, suffix='.rst',
documenter = get_documenter(value, obj)
if documenter.objtype == typ:
if imported or getattr(value, '__module__', None) == obj.__name__:
items.append(name)
public = [x for x in items
if x in include_public or not x.startswith('_')]