问题
How can I automatically add a table with the list of the methods for a given class using Sphinx? Something like in the scikit-learn documentation (example):
Thanks very much.
Edit: Thank you very much mzjn! Thanks to autosummary
, there is now a table with the description of the methods. However the layout is not very pretty:
It looks better on the API file:
There are dots when the list of parameters is too long.
来源:https://stackoverflow.com/questions/57977411/add-table-of-methods-in-sphinx-documentation-of-a-class