Skip to content

autosummary doesn't work with __future__ imports #1629

@shimizukawa

Description

@shimizukawa

I have trouble getting Sphinx autodoc feature to work on code where I have from __future__ import XXX statements. As long as I have, e.g., from __future__ import division at the top of my module, Sphinx will not generate an ..autosummary:: of the module. Once I remove the __future__ import, Sphinx works as it's supposed to.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions