擅长:python、mysql、java
<p>似乎子目录中文档中的<a href="http://sphinx-doc.org/markup/toctree.html" rel="nofollow">^{<cd1>}</a>是以该子目录为根的(参见例如<a href="https://docs.python.org/2/_sources/howto/index.txt" rel="nofollow">https://docs.python.org/2/_sources/howto/index.txt</a>)。对于上层TOC,<code>:maxdepth:</code>限制了低层的包含。在</p>
<p><s>可以通过制作相应的模板并将其添加到<a href="http://sphinx-doc.org/config.html#confval-html_sidebars" rel="nofollow">^{<cd3>}</a>build参数来将其放入侧边栏。</s>更新:不起作用;在侧栏模板中,TOC的根始终位于顶部。在</p>