Move tocdepth definition to above of user-preamble (ref #2358)

This commit is contained in:
Takeshi KOMIYA 2016-02-29 11:25:27 +09:00
parent 8ab5cdca2b
commit a2efd1475a
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Bugs fixed
* #1565, #2229: Revert new warning; the new warning will be triggered from version 1.4 on.
* #2329: Refresh environment forcely if source directory has changed.
* #2019: Fix the domain objects in search result are not escaped
* #2358: Fix user-preamble could not override the tocdepth definition.
Release 1.3.5 (released Jan 24, 2016)
=====================================

View File

@ -48,6 +48,7 @@ HEADER = r'''%% Generated by Sphinx.
%(usepackages)s
%(contentsname)s
%(numfig_format)s
%(tocdepth)s
%(preamble)s
\title{%(title)s}
@ -56,7 +57,6 @@ HEADER = r'''%% Generated by Sphinx.
\author{%(author)s}
\newcommand{\sphinxlogo}{%(logo)s}
\renewcommand{\releasename}{%(releasename)s}
%(tocdepth)s
%(makeindex)s
'''