FIX: Only check if members is True

This commit is contained in:
Eric Larson 2015-05-19 10:08:26 -07:00
parent 2710d8e5b2
commit b4331978e0

View File

@ -276,7 +276,7 @@ class Autosummary(Directive):
self.warn('failed to import object %s' % real_name) self.warn('failed to import object %s' % real_name)
items.append((display_name, '', '', real_name)) items.append((display_name, '', '', real_name))
continue continue
if not documenter.check_module(): if documenter.options.members and not documenter.check_module():
continue continue
# try to also get a source code analyzer for attribute docs # try to also get a source code analyzer for attribute docs