Is it possible to generate list of members, linking to detailed descriptions below?

只谈情不闲聊 提交于 2020-04-18 06:10:35

问题


Converting a project doc from epydoc to sphinx, I am mostly thrilled, but miss one property of epydoc, as it generated a list of methods in the top of the document, followed by the detailed section with fully rendered doc-strings below. With autodoc, I naturally get the latter simply by

.. automodule:: mymodule
   :members:

I'm not yet on the level of tweaking themes, but wounder if there was a straight forward way to achieve this. To make it more clear, I aim for something like this (even without the short descriptions, just the signatures in the first part):

Edit: Just now, I also found this older post. The accepted answer is probably close to what I am looking for.

来源:https://stackoverflow.com/questions/60670307/is-it-possible-to-generate-list-of-members-linking-to-detailed-descriptions-bel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!