Sphinx generates empty documentation

后端 未结 1 1022
没有蜡笔的小新
没有蜡笔的小新 2021-01-04 07:59

I\'m trying to generate documentation for my project with Sphinx, but the output documentation doesn\'t contain any of my classes. What am I doing wrong? Below are the comma

1条回答
  •  攒了一身酷
    2021-01-04 08:15

    You need to run the sphinx-apidoc command on your project to automatically generate the .rst files corresponding to your Python modules. These will then be used by the autodoc extension to actually generate the documentation.

    0 讨论(0)
提交回复
热议问题