-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
DOC: auto-generate and deploy API documentation via sphinx and github pages #186
base: main
Are you sure you want to change the base?
Conversation
@ev-br Kindly help with this step. I can only grant access to my forked repository. Also, could you specify which other modules' docstrings need to be autogenerated on RTD? Maybe the frontend and impl modules as well? I will add missing docstrings to some classes and functions for complete documentation. |
This is great Sheila, thank you for starting this!
For what do document :
In a follow-up, after the bulk of the transition is done, it'd be nice to split the current README into logical bits. No need to worry about it just yet though. |
The docs process for array-api-extra is:
I think it should be relatively simple to swap out the GitHub Pages part for Readthedocs - I was going to use RTD initially, but for array-api-extra it was more simple to piggyback off the existing data-apis setup for Pages |
You'd need to create a Read the Docs account, then click on the |
Thanks, @lucascolley! That’s really helpful. I think using parser extensions is a better approach for building our documentation, especially since we started with markdown, there’s no need to change it. Plus it is easier to learn and use. For |
I'd actually suggest we try replicating the array-api-extra setup. Would you give it a go Sheila? |
@lucascolley |
That may well be the case, yes, I think the data-apis org already had an existing setup on which to piggyback. @ev-br I suppose you should have permissions for whatever is needed here? |
I toggled to publish from the |
Hi @ev-br 👋
|
I think all the settings are okay. Let me run the workflow to test. |
Sphinx
to read and buildscipy_doctest
documentation, including the README and extracting docstrings from theplugin
,frontend
andimpl
modules.