-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autosummary document imported functions #1061
Comments
From Takayuki Shimizukawa on 2013-01-20 02:12:50+00:00 I can not reproduce autodocing for imported modules and functions. Please let me know about your 'autodoc' relative directive using in rst file. |
From Tiago Coutinho on 2013-10-10 09:15:55+00:00 Hello, I was preparing a bug report when I saw this one. I post my original report with the hope that it can help solve the bug: I am using autosummary with autosummary_generate = True in the conf.py The autosummary is generating documentation for functions/classes which are imported from another module.
and the following RST:
will generate a RST like:
Please don't hesitate to ask for more info if needed. |
From samuele_c on 2014-03-05 00:02:35+00:00 I'm having the exact same issue in Debian stable and Debian testing. Calling
includes functions imported from other modules in the summary table |
From mzjn on 2014-08-23 17:44:07+00:00 A patch has been suggested at Stack Overflow: http://stackoverflow.com/a/25460763 |
From Takayuki Shimizukawa on 2014-08-29 01:53:58+00:00 We need a It's a new feature and a incompatible change. |
From Takayuki Shimizukawa on 2014-12-19 03:41:29+00:00 Issue #1654 was marked as a duplicate of this issue. |
From Luc Saffre on 2014-12-19 04:10:55+00:00 Yes, they are the same issues. |
Unfortunately the fix for this issue in 3313276 broke some things for us in Astropy, because now the call to This should at least be optional. I like the suggestion @shimizukawa made of an |
from what I understood, this change was a backward-incompatible commit preventing imported modules to be included in the toctree. |
It seems this problem is still not fixed? |
PR #1663 closes this issue. @birkenfeld please take a look if you have chance. |
It looks like 1.3.2 already restored the desired behavior. |
Maybe I'm missing something but I believe that this is still an issue, at least for my configuration. I'm using sphinx 1.4.1 and The change suggested by this SO answer worked for me. Thanks in advance, and apologies if I am in fact missing something. |
Reopen to investigation |
Fixed by #3235. |
Hello,
I'm looking for a way to exclude imported modules and functions.
The attached examples list isfile in functions of my module.
The text was updated successfully, but these errors were encountered: