-
Notifications
You must be signed in to change notification settings - Fork 168
add API reference links #2442
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
add API reference links #2442
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Yep, I don't think this is a priority now |
Co-authored-by: Erik van Sebille <[email protected]> Fixes #2448
|
Is there anything we're waiting on @erikvansebille before merging this? I think it would be good to update the contributing guidelines at some point with
I think this sort of guidance can be done as a mention in the current |
|
No I think ti's good to go. Feel free to merge! |
This PR adds API reference links throughout the documentation, which resolves a TODO note.
Since we use sphinx autoapi (#2395) to build the API reference, and MyST to parse markdown (#1342), we should use the
{py:obj}role to refer to parcels objects (see executablebooks/discussions/q-a#1169)e.g.:
Unfortunately, I am only able to refer to classes, and not their methods, i.e. the following doesn’t create the link to the method:
See also: https://www.sphinx-doc.org/en/master/usage/domains/python.html#role-py-meth
Work done (contributing to #2449) :