-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Graph objects structure and __all__ specifications #1802
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
Conversation
@emmanuelle in case this didn't get mentioned earlier, there's a CI step called Note that this build also includes the last |
@jonmmease I pulled your branch and run the sphinx build of https://github.com/plotly/plotly.py-docs/pull/134/files. It does find the traces of |
Maybe it's easier for your diagnosis to pull plotly/plotly.py-docs#134 and to build the doc running |
Also, I'll make a separate PR for the |
The |
Any reason why the traces in the |
never mind for the order, I generated an alphabetical list in the sphinx PR. |
Thanks for trying this out @emmanuelle. I'm not really sure what to do about sphinx not picking up the superclass methods. I wonder if there are sphinx configuration options for this. |
Does Sphinx or similar tools ever pick up superclass methods? In my experience with Javadoc etc I seem to recall this being the kind of thing that users have to click around to find... Here's an SO question about this: https://stackoverflow.com/questions/40508492/python-sphinx-inherit-method-documentation-from-superclass/40613306#40613306 |
(I'd be OK with having a separate autodoc page for |
yes, we could have |
I noticed a problem with these changes though: when importing
no time to investigate right now, just wanted to report the issue |
@emmanuelle oh that's interesting. Yeah, the import of the nested package Hmm, so to keep compatibility on this kind of import we won't be able to move the directory structure from |
Whew, nice catch Emma! Let’s try with just the |
@jonmmease @nicolaskruchten yes I think it will be ok just with the |
bde31e7
to
12e4ffe
Compare
@emmanuelle, I updated the PR to only add the |
Thank you @jonmmease I checked that the API doc looks good and finds all objects. So, 💃 !! |
merging! |
Code generation update to close #1799 and the
graph_objects
part of #1800.@emmanuelle could you check if the placement of the
__all__
statements undergraph_objects
helps sphinx find the classes to document?