DM-14782: Replace astropy_helpers with sphinx-automodapi and improve Sphinx configurations for stack documentation #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Various improvements to the configuration for LSST Stack-based documentation projects (
documenteer.sphinxconf.stackconf
):Replaced the third-party
astropy_helpers
package with the numpydoc andsphinx-automodapi
packages. This helps reduce the number of extraneous dependencies needed for Stack documentation.Special methods (dunder methods) are now included in API documentation (
autodoc_default_flags
includesspecial-members
).autoclass_content
is now"class"
, fitting the LSST DM standards for writing class docstrings, and not filling out__init__
docstrings.Removed h5py from intersphinx since it was never needed.
Removed the viewcode extension since that won't scale well with the LSST codebase. Ultimately we want to link to source on GitHub.
Other internal cleanups for
documenteer.sphinxconf.stackconf
.Fixes #26 and #27