mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
FIX: Only check if members is True
This commit is contained in:
parent
2710d8e5b2
commit
b4331978e0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user