diff options
author | jfbu <jfbu@free.fr> | 2021-02-18 12:47:14 +0100 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2021-02-18 13:11:28 +0100 |
commit | ddef4950ee4dd73035ba29205acf651157a2440f (patch) | |
tree | a236ed03bbe5a0231dccb57cff2494413c754bc2 /doc/conf.py | |
parent | faa71ee26d3636ab2aa759635633af701949c5dd (diff) | |
download | sphinx-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.py | 3 |
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 |