From b4331978e04b666909cc04bd39fb738b885ee3b4 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 19 May 2015 10:08:26 -0700 Subject: [PATCH] FIX: Only check if members is True --- sphinx/ext/autosummary/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py index 4fd44ac67b4..a53b125d576 100644 --- a/sphinx/ext/autosummary/__init__.py +++ b/sphinx/ext/autosummary/__init__.py @@ -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