【发布时间】:2014-05-05 05:39:27
【问题描述】:
所以我决定做这样的事情:
我需要
.. automodule:: main
:members:
但具有以下功能
This is my caption
------------------
.. autodata:: CAPTION
About my caption
所以,我需要为每个函数、方法和类写一些东西,但同时我还需要我在代码中创建的所有新函数都将出现在文档中,而无需编辑文档。有可能吗?
【问题讨论】:
标签: python python-sphinx autodoc