Skip to content

Commit 4c2f693

Browse files
committed
Merge pull request #1892 from Eric89GXL/fix-no-members
FIX: Only check if members is True. closes #1822, refs #1891, #1828, #1061, #1663
2 parents a0dc30e + b433197 commit 4c2f693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/ext/autosummary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def get_items(self, names):
276276
self.warn('failed to import object %s' % real_name)
277277
items.append((display_name, '', '', real_name))
278278
continue
279-
if not documenter.check_module():
279+
if documenter.options.members and not documenter.check_module():
280280
continue
281281

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

0 commit comments

Comments
 (0)