小编Kar*_*rin的帖子

使用Sphinx时,不生成模块索引"modindex"

我在使用sphinx-build创建文档目录(html)时遇到了麻烦.

我试过了

sphinx-build -b html source build
Run Code Online (Sandbox Code Playgroud)

以及

make html
Run Code Online (Sandbox Code Playgroud)

但在这两种情况下,只生成html文件search.html,index.html和genindex.html.缺少modindex.html文件.

在我设置的conf.py文件中

html_domain_indices = True
Run Code Online (Sandbox Code Playgroud)

所以我应该有一个modindex.html文件.我究竟做错了什么?构建html文件后,我没有收到任何错误消息.我在Windows XP上使用Sphinx 1.1.3和Python 2.7.

python-sphinx

31
推荐指数
2
解决办法
1万
查看次数

标签 统计

python-sphinx ×1