sphinx autosummary extension to properly format pandas or xarray accessors
Project Links
Meta
Author: Justus Magin
Requires Python: >=3.6
Classifiers
A sphinx extension to properly document pandas or xarray accessors.
autosummary is able to create summary and object pages for objects and their methods, but it doesn’t work well with accessor styled properties and methods (obj.accessor.attribute). pandas has accessor documentation built using autosummary templates, which xarray recently adopted by copying the templates and all related code.
To avoid even more duplicated code, and to make it easier for projects to document their custom accessors, this project aims to provide this functionality by way of a sphinx extension. Once it is finished, using it should be (almost) as simple as adding "accessors" to extensions in the project’s conf.py.
Most of the code was adapted from pandas.
Mar 10, 2025
2025.3.1
Apr 12, 2023
2023.4.0
Apr 04, 2022
2022.4.0
Jun 06, 2021
0.2.1
Mar 06, 2021
0.2
Aug 07, 2020
0.1.2
Aug 07, 2020
0.1.1
Aug 07, 2020
0.1