Sphinx遇到的问题

1 . Build Fail Sphinx Error contents.rst not found

找到conf.py,添加下列代码:

master_doc = 'index'

参考https://stackoverflow.com/questions/56336234/build-fail-sphinx-error-contents-rst-not-found

2. ‘str’ object has no attribute ‘supported’ when building documentation using m2r2

在这里插入图片描述
参考https://github.com/sphinx-doc/sphinx/issues/8395

猜你喜欢

转载自blog.csdn.net/weixin_42990464/article/details/125808796