我是 Sphinx 的新手,我试图toctree
在 Sphinx 中包含一个,但它似乎完全忽略了我的toctree
选择。
我有如下所示的代码:
.. toctree::
:titlesonly:
foo
bar
这也被忽略:
.. toctree::
:maxdepth: 1
foo
bar
结果输出看起来像这样:
- 富
- Foo1
- Foo12
- Foo2
- Foo1
- 酒吧
- 酒吧1
- 酒吧12
- 酒吧2
- 酒吧1
我正在运行make html
以生成 HTML 文档,我想我的 conf.py 文件中的设置可能有误。