-
Notifications
You must be signed in to change notification settings - Fork 469
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
Improved the API documentation to avoid breaking intersphinx #1638
Conversation
48391a3
to
905aaba
Compare
- api is now split into 3 parts - files are reorganized in folders Additionally, some class members (Quantity, Unit, Measurement, Group, Context, System) are excluded from the docs as they confuse sphinx.
Thanks a lot for this quick fix. Just tested with latest on RTD. Now I receive the following:
|
Have you try referencing |
Sorry, the error popped up, since I did some evil hacks on |
Just released 0.20.1 fixing this. |
Thanks @hgrecco for tackling this |
Just to leave a note for the future, sphinx does not work well with dynamically generated classes. Additionally, sphinx is not very happy with classes defined in other places. That is why I have uses autoclass instead of automodules. |
Thanks for the fix @hgrecco ! |
Something weird happened with latest change, Grid links now link to scipy and dask for the getting started & API Reference |
intersphinx being too clever masquerades an error. |
Made a PR for this |
pre-commit run --all-files
with no errors