summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2021-02-18 12:47:14 +0100
committerjfbu <jfbu@free.fr>2021-02-18 13:11:28 +0100
commitddef4950ee4dd73035ba29205acf651157a2440f (patch)
treea236ed03bbe5a0231dccb57cff2494413c754bc2 /doc/conf.py
parentfaa71ee26d3636ab2aa759635633af701949c5dd (diff)
downloadsphinx-git-ddef4950ee4dd73035ba29205acf651157a2440f.tar.gz
LaTeX: let bookmarks use high default depth
Add bookmarksdepth key to latex_elements['sphinxsetup']
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index f38d03d6d..09397c76b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -61,11 +61,10 @@ latex_elements = {
'fontenc': r'\usepackage[LGR,X2,T1]{fontenc}',
'passoptionstopackages': r'''
\PassOptionsToPackage{svgnames}{xcolor}
-\PassOptionsToPackage{bookmarksdepth=3}{hyperref}% depth of pdf bookmarks
''',
'preamble': r'''
\DeclareUnicodeCharacter{229E}{\ensuremath{\boxplus}}
-\setcounter{tocdepth}{3}% depth of what is kept from toc file
+\setcounter{tocdepth}{3}% depth of what main TOC shows (3=subsubsection)
\setcounter{secnumdepth}{1}% depth of section numbering
''',
# fix missing index entry due to RTD doing only once pdflatex after makeindex