修改目录深度为3,index.rst中的修改仅对HTML有用,对于PDF需要在导言区修改

This commit is contained in:
Dongdong Tian 2014-03-01 17:40:14 +08:00
parent 05528b7222
commit 79c9c8828d
2 changed files with 2 additions and 1 deletions

View File

@ -199,6 +199,7 @@ latex_elements = {
\setCJKmonofont{SimHei}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt
\setcounter{tocdepth}{3}
''',
}

View File

@ -9,7 +9,7 @@
Contents:
.. toctree::
:maxdepth: 2
:maxdepth: 3
overview
introduction