使用Sphinx为python模块自动生成文档

https://blog.csdn.net/preyta/article/details/73647937

Sphinx error: Unknown directive type “automodule” or “autoclass”

sphinx-build -b html docs/source docs/build

If it was:

extensions = []

then you'd change it to:

extensions = ['sphinx.ext.autodoc']
       

猜你喜欢

转载自blog.csdn.net/sinat_26940175/article/details/89844781