Skip to content

Commit 7497cb8

Browse files
committed
Update TOC depth all formats to level 3
1 parent 2ee99e7 commit 7497cb8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_quarto.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ book:
3232
sidebar:
3333
style: docked
3434
search: true
35+
collapse-level: 2 # Headings at this level and below will be collapsed
36+
toc-depth: 3 # Show headings up to this level in sidebar
3537
repo-url: https://github.com/yourusername/python-dev-book
3638
repo-actions: [edit, issue]
3739
downloads: [pdf, epub]
@@ -44,6 +46,7 @@ format:
4446
code-copy: true
4547
code-tools: true
4648
toc: true
49+
toc-depth:
4750
metadata:
4851
title: "From Zero to Production: A Practical Python Development Pipeline"
4952
description: "A comprehensive guide to Python development practices, tools, and workflows"
@@ -52,6 +55,10 @@ format:
5255
pdf:
5356
documentclass: scrbook
5457
colorlinks: true
58+
toc: true
59+
toc-depth: 3
60+
cover-image: images/cover.png
5561
epub:
5662
toc: true
63+
toc-depth: 3
5764
cover-image: images/cover.png

0 commit comments

Comments
 (0)