From 796b692bb18a9e1bcd1fa771d161b8bf3aef7c25 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Wed, 17 Feb 2016 06:29:02 -0700 Subject: Bug 1242264: Add LaTeX preamble to, speculatively, get ReadTheDocs to do 2 levels of heading in the TOC. r=LpSolit --- docs/en/rst/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/rst/conf.py b/docs/en/rst/conf.py index a5c6090e9..6a5ea15e6 100644 --- a/docs/en/rst/conf.py +++ b/docs/en/rst/conf.py @@ -218,7 +218,7 @@ latex_elements = { #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. -#'preamble': '', +'preamble': '\setcounter{tocdepth}{1}', } # Grouping the document tree into LaTeX files. List of tuples -- cgit v1.2.3-24-g4f1b