From 508fd7e8a1197e626dd13eb776d5f4a66e5c4d16 Mon Sep 17 00:00:00 2001 From: Freek Pols Date: Wed, 5 Jun 2024 13:57:17 +0200 Subject: [PATCH] chapters --- book/basic-features/jupyterbook.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/book/basic-features/jupyterbook.md b/book/basic-features/jupyterbook.md index 3758da2..2186618 100644 --- a/book/basic-features/jupyterbook.md +++ b/book/basic-features/jupyterbook.md @@ -7,7 +7,7 @@ To build a Jupyter Book, you need three things: 3. Content ## The configuration file -The configuration file of Jupyter Books is named `_config.yml`. It mainly contains settings that apply when building the book. Here is a basic example of a configuration file, taken from this book: +The configuration file of Jupyter Books is named `_config.yml`. It mainly contains settings that apply when building the book. Here is a basic example of a configuration file, taken from this book: ```yml title: Jupyter Book Manual @@ -83,4 +83,19 @@ parts: - file: section_3_1 et cetera... -``` \ No newline at end of file +``` + +## The structure of a chapter +The 'nested' structure in the TOC is one way to organize your book. Another way to do so is in the file itself. The structure is define by the number of `#`: + +``` +# Chapter 1 title + +## Section 1.1 + +### Subsection 1.1.1 + +## Section 1.2 + +### Subsection 1.2.1 +```