Sphinx,在模块中列出模块

时间:2017-09-17 14:52:42

标签: python python-2.7 python-sphinx

CommandDefs.rts

Command Definitions
===================

.. automodule:: commands.defs
    :members:

我目前有这个。 commands是模块(包)的文件夹,commands.defs是模块的文件夹,也是包。但是包的成员模块没有显示出来。

我一直在Command下添加新的commands.defs定义。我不想手动不断更新.rts文件以包含每个新的命令定义类。

是不是只能在Sphinx中循环浏览文件夹/包中的模块?

0 个答案:

没有答案
相关问题