Skip to content

fix #2336 autosummary imported members - #3235

Merged
shimizukawa merged 1 commit into
sphinx-doc:masterfrom
lsaffre:master
Dec 13, 2016
Merged

shimizukawa merged 1 commit into
sphinx-doc:masterfrom
lsaffre:master

Conversation

@lsaffre

@lsaffre lsaffre commented Dec 13, 2016

Copy link
Copy Markdown
Contributor

This fixes #2336

@shimizukawa

Copy link
Copy Markdown
Member

Can you add a test case for this change?

@shimizukawa

Copy link
Copy Markdown
Member

Ah, OK. generate_autosummary_docs have no test. So, now I merge this.

BTW, I think this is a "incompatible change" and this avoid imported class/function object even if it is intended. IMO, new default behavior is OK, however we should have a option for keeping previous behavior.

@shimizukawa
shimizukawa merged commit 60ae843 into sphinx-doc:master Dec 13, 2016
shimizukawa added a commit that referenced this pull request Dec 13, 2016
…n imported members by default. Thanks to Luc Saffre.
@lsaffre

lsaffre commented Dec 13, 2016 via email

Copy link
Copy Markdown
Contributor Author

@shimizukawa

Copy link
Copy Markdown
Member

--imported-members options has been added. 4ece701

@dopplershift

Copy link
Copy Markdown

So how can I get the functionality of --imported-members if I was using autosummary_generate in conf.py before? I've tried running sphinx-autogen -i, and while it does some of the work, it doesn't seem to run recursively (generating autosummary pages for the imported members themselves) like I would like. Any help on restoring what worked with 1.5.6 would be very helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autosummary with toctree always lists imported members

3 participants