summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-11-13 09:54:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 10:55:02 +0000
commit5b08dd48f2b1657d4923025e0f06507bc7ae6cca (patch)
tree8b32eba2a9b1486b3fefc6fe94f1872fb4bc2801 /documentation/Makefile
parentde27f9ea574c2741b949b4962b1c411357f0e827 (diff)
downloadpoky-5b08dd48f2b1657d4923025e0f06507bc7ae6cca.tar.gz
conf.py: Improve TOC and Outline depth in PDF output
The default PDF output shows only chapter headings in the table of contents and in the outline (aka PDF bookmarks). We should override these defaults to set something more suitable. With a depth of 2 for the TOC we see both section and subsection headings which is enough to get the list of classes in the reference manual and the list of topics under "Common Tasks" in the development manual. Going to a deeper level would make the TOC unwieldy but we do want to make sure we can navigate more precisely using the outline (commonly shown in a left tab in PDF viewers) so we set the depth to 5 for the outline. (From yocto-docs rev: f74238d08163f6fc45939422ae96a3d69c0e4449) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5db16d3b01da0a138b6413347fcf2321a1bfae08) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/Makefile')
0 files changed, 0 insertions, 0 deletions