Skip to content

Commit

Permalink
FIX: Only check if members is True
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed May 19, 2015
1 parent 2710d8e commit b433197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/ext/autosummary/__init__.py
Expand Up @@ -276,7 +276,7 @@ def get_items(self, names):
self.warn('failed to import object %s' % real_name)
items.append((display_name, '', '', real_name))
continue
if not documenter.check_module():
if documenter.options.members and not documenter.check_module():
continue

# try to also get a source code analyzer for attribute docs
Expand Down

0 comments on commit b433197

Please sign in to comment.