From 0421f78d8ee168f39438252c0f3ab9ebc6f2ab92 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Thu, 30 May 2024 15:22:53 +0200 Subject: [PATCH 1/2] Update figures.md --- book/basic-features/figures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/basic-features/figures.md b/book/basic-features/figures.md index f03c81e..1c3f562 100644 --- a/book/basic-features/figures.md +++ b/book/basic-features/figures.md @@ -54,7 +54,7 @@ There are many settings, for instance aligning right: ``` ```` -provides the output: +with the result: ```{figure} ../images/TUDelft_logo_rgb.png --- From 017da1e45f59a24120225609a4c80701989b9d41 Mon Sep 17 00:00:00 2001 From: Freek Pols Date: Fri, 31 May 2024 09:09:35 +0200 Subject: [PATCH 2/2] Update jupyterbook.md corrections in subsection versus sections. Included comment on copyright --- book/basic-features/jupyterbook.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/book/basic-features/jupyterbook.md b/book/basic-features/jupyterbook.md index 427f819..3758da2 100644 --- a/book/basic-features/jupyterbook.md +++ b/book/basic-features/jupyterbook.md @@ -13,6 +13,7 @@ The configuration file of Jupyter Books is named `_config.yml`. It mainly contai title: Jupyter Book Manual author: Interactive Textbooks CiTG logo: images/TUDelft_logo_rgb.png +copyright: CC BY-NC execute: execute_notebooks: auto @@ -27,6 +28,7 @@ Technically speaking, a `_config.yml` file is not required to build a Jupyter Bo - `title`: the title of your book, which appears on the top-left of every page, under the logo. - `author`: authors of the book, which appears in the bottom margin of every page. - `logo`: (relative) path to the logo of your book (optional). +- `copyright`: the [licences](https://creativecommons.org/share-your-work/cclicenses/) attached to your book. In addition, the following option can also be useful: @@ -39,7 +41,7 @@ The coniguration and table of contents files are in YAML format (short for YAML ## The table of contents -The table of contents (`_toc.yml`) file is where you define the structure of your book. You can organize content in *parts*, *chapters*, and *sections*. This is what a table of contents could look like: +The table of contents (`_toc.yml`) file is where you define the structure of your book. You can organize content in *parts*, *chapters*, and *sections* (and subsections, each new section creating a dropdown menu in the ToC). This is what a table of contents could look like: ```yml - format: jb-book @@ -48,9 +50,11 @@ The table of contents (`_toc.yml`) file is where you define the structure of you chapters: - file: chapter_1 sections: - - file: subsection_1 - - file: subsection_2 + - file: section_1_1 + - file: section_1_2 - file: chapter_2 + sections: + - file: section_2_1 et cetera... ``` @@ -66,12 +70,17 @@ parts: chapters: - file: chapter_1 sections: - - file: subsection_1 - - file: subsection_2 + - file: section_1_1 + - file: section_1_2 + sections: + - file: subsection_1_2_1 + - file: subsection_1_2_2 - file: chapter_2 - caption: Part 2 chapters: - file: chapter_3 + sections: + - file: section_3_1 et cetera... ``` \ No newline at end of file