From ef53cac05b270bd6d1cda39ce245cbe822d13b93 Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 15 Jul 2020 21:19:37 -0400 Subject: [PATCH] Improve chapter levels in the PDF build "Quick links" was "Chapter 1", and everything else was nested under Chapter 2. This changes e.g. "2.6.5 DFHack Lua API" to "6.5: DFHack Lua API" --- conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf.py b/conf.py index a46039126..d6c40b0a7 100644 --- a/conf.py +++ b/conf.py @@ -359,3 +359,5 @@ latex_documents = [ (master_doc, 'DFHack.tex', 'DFHack Documentation', 'The DFHack Team', 'manual'), ] + +latex_toplevel_sectioning = 'part'