You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sphinx AutoAPI is a Sphinx extension for generating complete API documentation without needing to load, run, or import the project being documented.
In contrast to the traditional Sphinx autodoc, which requires some manual authoring and uses code imports, AutoAPI finds and generates documentation by parsing source code.
I have locally trialed using autoapi which generally is:
presented better
uses the autosummary for modules and classes (table summary)
There is a build warning that can be resolved with some investigation but the main issue blocking the adoption is the use of inline comments to document attributes using #: str: this is a comment before the attribute is defined. autoapi works using the triple quotes after the attribute is defined but this would mean changing lots of comments already present and it is limited to a single line.
Lets watch readthedocs/sphinx-autoapi#344 to see if support for #: comments is added, if so we can look at adopting autoapi.
The text was updated successfully, but these errors were encountered:
📚 Documentation
We currently use apidoc for our API Docs, which look like this: https://scitools-iris.readthedocs.io/en/latest/generated/api/iris.html.
Autodoc headline:
I have locally trialed using autoapi which generally is:
autosummary
for modules and classes (table summary)There is a build warning that can be resolved with some investigation but the main issue blocking the adoption is the use of inline comments to document attributes using
#: str: this is a comment
before the attribute is defined. autoapi works using the triple quotes after the attribute is defined but this would mean changing lots of comments already present and it is limited to a single line.Lets watch readthedocs/sphinx-autoapi#344 to see if support for
#:
comments is added, if so we can look at adopting autoapi.The text was updated successfully, but these errors were encountered: