From 140c6e6418585e0acb55a1d14c629113cbdfbd58 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 30 Apr 2025 14:11:37 +0200 Subject: [PATCH 1/2] reference exercises in template --- book/basic-features/jupyterbook.md | 3 +++ book/external/Sphinx-Named-Colors | 2 +- book/external/deploy-book-workflow | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/book/basic-features/jupyterbook.md b/book/basic-features/jupyterbook.md index 6737a17..22dc777 100644 --- a/book/basic-features/jupyterbook.md +++ b/book/basic-features/jupyterbook.md @@ -116,6 +116,9 @@ parts: - file: section_1_2 ``` +#### Exercise +Check out [this exercise](https://teachbooks.io/template/syntax_exercises/007.html) in the TeachBooks template to see for yourself how to structure files with titles! + ### Including a chapter twice In some cases you want to include the same chapter in two different places in your book (for instance parts). However, you do not want to make the same adjustments in different files, the content should only 'live' in one place. The solution is to use `include`: diff --git a/book/external/Sphinx-Named-Colors b/book/external/Sphinx-Named-Colors index b4b1a2e..57ecdd8 160000 --- a/book/external/Sphinx-Named-Colors +++ b/book/external/Sphinx-Named-Colors @@ -1 +1 @@ -Subproject commit b4b1a2e5d087336108bc15b176af1999b61dc86a +Subproject commit 57ecdd887e8bbc32a04aca20e9fc9cb60409b7d0 diff --git a/book/external/deploy-book-workflow b/book/external/deploy-book-workflow index 910542a..427215f 160000 --- a/book/external/deploy-book-workflow +++ b/book/external/deploy-book-workflow @@ -1 +1 @@ -Subproject commit 910542a3ac426020f738dfb0de313f66d9d3f43f +Subproject commit 427215f1ccc048847abd8cd86a1ba2e85c2dd549 From da92178a8b701f24ef6e75c7ff209be2a3b33eae Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 30 Apr 2025 14:14:18 +0200 Subject: [PATCH 2/2] added indexed defintions to credits --- book/credits.md | 1 + 1 file changed, 1 insertion(+) diff --git a/book/credits.md b/book/credits.md index 51b3ab4..5cf5abe 100644 --- a/book/credits.md +++ b/book/credits.md @@ -56,6 +56,7 @@ The following pages are included directly from an external resource and is not e - Page [](./external/teachbooks-sphinx-tippy/README.md). Original content licensed under MIT license. - Page [](./external/template/README.md). Original content licensed under CC BY 4.0 license. - Page [](./external/Sphinx-Named-Colors/README.md). Original content licensed under MIT license. +- Page [](indexed_defintions). Original content licensed under MIT license. - Pages [](./external/Useful_python_code/extensionfildownloadreturn.ipynb), [](./external/Useful_python_code/figshrinker.ipynb) and [](./external/Useful_python_code/snippit.ipynb). Original content licensed under BSD 3-Clause license. The following pages contain content written by others, part of has been reused and/or modified by the TeachBooks Team: