Merge branch 'release' into external_toc

This commit is contained in:
Tom van Woudenberg 2025-04-30 14:18:31 +02:00 • committed by GitHub
commit 02ed115c76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 21 additions and 8 deletions

View file

@ -1,5 +1,5 @@
title: TeachBooks Manual
author: TeachBooks Team, built with <a href="https://teachbooks.io/">TeachBooks</a> and <a href="https://jupyterbook.org/">Jupyter Book</a>, <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license noopener noreferrer"">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""></a>
author: TeachBooks Development Team and TeachBooks users, built with <a href="https://teachbooks.io/">TeachBooks</a> and <a href="https://jupyterbook.org/">Jupyter Book</a>, <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license noopener noreferrer"">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""></a>
execute:
execute_notebooks: 'off'

View file

@ -87,6 +87,7 @@ parts:
- file: features/exercise_checking.ipynb
- file: features/jupyterquiz.ipynb
- file: external/sphinx-iframes/README.md
- external: https://github.com/TeachBooks/Sphinx-Indexed-Definitions/blob/manual/README.md
- file: external/Sphinx-PRIME-applets/README.md
- file: features/visuals.md
sections:

View file

@ -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`:

View file

@ -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:

@ -1 +1 @@
Subproject commit b4b1a2e5d087336108bc15b176af1999b61dc86a
Subproject commit 57ecdd887e8bbc32a04aca20e9fc9cb60409b7d0

@ -1 +1 @@
Subproject commit d845f78e04bc0a4feca0c917f88599bdd1f02ecb
Subproject commit 2ab5d1d708aed595b9630c94081e05c11a84b18c

@ -1 +1 @@
Subproject commit 910542a3ac426020f738dfb0de313f66d9d3f43f
Subproject commit 427215f1ccc048847abd8cd86a1ba2e85c2dd549

@ -1 +1 @@
Subproject commit 062c54a679c6dd44b948549498e755c7c5df1d73
Subproject commit e21273da134cbf4753da5faf9adc277b8f1c3a1c

View file

@ -161,8 +161,16 @@
@misc{teachbooks_package,
author = {{TeachBooks}},
title = {TeachBooks Package: Jupyter Book Wrappe},
title = {TeachBooks Package: Jupyter Book Wrapper},
url = {https://github.com/TeachBooks/TeachBooks},
year = {2024},
note = {Retrieved April, 2025. MIT License.}
}
@misc{sphinx-indexed-definitions,
author = {{TeachBooks}},
title = {Sphinx Indexed Definitions},
url = {https://github.com/TeachBooks/Sphinx-Indexed-Definitions},
year = {2025},
note = {Retrieved April, 2025. MIT License.}
}

View file

@ -1,4 +1,4 @@
teachbooks == 0.1.0
teachbooks == 0.2.0
sphinx-inline-tabs == 2023.4.21
jupyterbook_patches==1.4.4
download_link_replacer == 1.0.4
@ -12,4 +12,4 @@ sphinx-prime-applets == 1.0.2
git+https://github.com/TeachBooks/Sphinx-Thebe
docutils==0.17.1
docutils==0.17.1