【发布时间】:2016-04-28 21:34:00
【问题描述】:
我的 index.rst 中有一个目录树,看起来像这样:
.. toctree::
:maxdepth: 2
cat
dog
moose
我希望嵌套我的 toctree 的内容,类似于 here 使用 'api 文档':
所以最终做出这样的事情:
.. toctree::
:maxdepth: 2
:dropdown Animals
cat
dog
moose
但我似乎在文档中找不到任何这样做的东西。
【问题讨论】:
标签: python python-sphinx toctree