members_to_watch = ['function']

def warn_undocumented_members(app, what, name, obj, options, lines):
    if what in members_to_watch and len(lines) == 0:
        pass
How can I just list undocumented members with sphinx/autodoc?