-
Notifications
You must be signed in to change notification settings - Fork 23
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
Use sphinx-autodoc-typehints so that types don't have to be duplicated #161
Labels
documentation
Improvements or additions to documentation
Comments
abkfenris
changed the title
Use sphinx-autodoc-typehints (working with napoleon) so that types don't have to be duplicated
Use sphinx-autodoc-typehints so that types don't have to be duplicated
Mar 9, 2023
abkfenris
added a commit
to abkfenris/xpublish
that referenced
this issue
Mar 11, 2023
abkfenris
added a commit
that referenced
this issue
Mar 21, 2023
abkfenris
added a commit
to abkfenris/xpublish
that referenced
this issue
Apr 4, 2023
abkfenris
added a commit
that referenced
this issue
May 11, 2023
* Add methods to API docs and use typehints Closes #160 #161 * Use the Pydata theme for docs Closes #164 * Add methods to API docs and use typehints Closes #160 #161 * Use the Pydata theme for docs Closes #164 * Hide the top menu navigation from the index page * Docs revamp Start of a big revamp of the docs. - Uses Pydata theme - Enables MyST markdown and converts a lot of the docs to it (rst heading levels and git conflict formatting conflict, which was a fun discovery) - Re-arranges things along the Diátaxis framework lines, or at least how they are being used in the PyData space - Adds the vision or 'Why Xpublish' page - Breaks the tutorial into sections and scaffolds sections for use of plugins Closes #163 #165 #162 #166 * Update xarray-contrib to xpublish-community * Pre-commit format markdown and docs code snippets * Dataset router plugin tutorial and other doc tweaks * Use literalinclude rather than duplicating doc code * Remove some under-construction alerts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sphinx-autodoc-typehints will pull type hints in directly so that they don't have to be re-specified in docstrings. This prevents a way that types may fall out of sync, and reduces duplication.
It does need to be added to extensions after napoleon for them both to play nicely with each other.
The text was updated successfully, but these errors were encountered: