Automatically generated toctree for methods and classes
See original GitHub issue🚀 Feature
Idea is to replace our manually created toctree for metrics, handlers, regression metrics etc.
How to do that :
- check
.. autosummary::
tag in Sphinx - add it and configure for each listed above .rst file : metrics.rst, handlers.rst etc
Example of usage:
- https://numpy.org/devdocs/reference/arrays.ndarray.html#id1
- https://github.com/numpy/numpy/blob/master/doc/source/reference/arrays.rst (edited)
This issue maybe or maybe not blocked by #1272
For Hacktoberfest contributors, feel free to ask questions for details if any and say that you would like to tackle the issue. Please, take a look at CONTRIBUTING guide.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Automatically create a toctree for autodoc classes in Sphinx
Is there a way to automatically create this toctree for each of the classes being documented with autodoc? python · python-sphinx · autodoc...
Read more >Create a ToC entry for every function, method, class, etc #6316
It would be useful to have an option that causes Sphinx to automatically create a TOC entry for every function, class, and method....
Read more >sphinx.ext.autosummary – Generate autodoc summaries
This extension generates function/method/attribute summary lists, similar to those output e.g. by Epydoc and other API doc generation tools.
Read more >Populating our documentation - Sphinx-RTD-Tutorial
The sphinx-apidoc command can be used to auto-generate some .rst files for ... In case of classes and methods defined within our modules, ......
Read more >Configuration — Sphinx-Gallery 0.11.1-git documentation
Refer to that function/method/attribute/object/class using sphinx markup :func: ... explain how the Sphinx-Gallery API Reference is automatically generated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done!
Sorry for the late response. If @trsvchn can continue working on it it is ok for me!