tocdepth fixes

This commit is contained in:
Fredrik Johansson 2016-02-28 18:08:23 +01:00
parent 65ca08a097
commit 20627c2f2e
2 changed files with 6 additions and 2 deletions

View file

@ -186,12 +186,11 @@ latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
'papersize': 'a4paper',
'fontpkg': '',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
'preamble': '\\usepackage{lmodern}',
'preamble': '\\usepackage{lmodern}\n\\setcounter{tocdepth}{2}',
}
# Grouping the document tree into LaTeX files. List of tuples

View file

@ -35,6 +35,11 @@ Welcome to Arb's documentation!
A `PDF version <http://fredrikj.net/arb/arb.pdf>`_ of this documentation
is available.
.. dummy toctree because sphinx sets tocdepth to maxdepth - 1 instead of maxdepth
.. toctree::
:maxdepth: 3
General information
::::::::::::::::::::