我正在使用 Sphinx 来记录我的 Python 项目。我的问题是我在目录下的所有 python 文件,都在一页下列出。
这就是我到目前为止所拥有的。我会在不同的 html 页面中归档 Python_file_1、Python_file_2 和 Python_file_3。除了他们在同一页面下。任何建议或评论将不胜感激!
Welcome to Sphinx documentation!
=================================================================================
Contents:
.. toctree::
:maxdepth: 6
.. automodule:: Python_file_1
.. autoclass:: Pyhon1_class
:members:
.. automodule:: Python_file2
.. automodule:: Python_file_3
.. autoclass:: Python3_class
:members: