` elements, both before and after the text (make sure to leave an empty line after the `
`!):
-````
-
- and the output
-
-
+````html
+
+and the output
+
+
- ```{figure} ../images/TUDelft_logo_rgb.png
- ---
- width: 50%
- name: demoexample3
- align: right
- ---
- example 3: width (50%) as percentage, align right with additional div style
- ```
+```{figure} ../images/TUDelft_logo_rgb.png
+---
+width: 50%
+name: demoexample3
+align: right
+---
+example 3: width (50%) as percentage, align right with additional div style
+```
-
+
````
@@ -108,16 +108,16 @@ including `figclass: margin` sets the figure to the column at the right.
-````
- ```{figure} demo97/demo97_figure1.jpg
- ---
- figclass: margin
- width: 50%
- name: demoexample2
-
- ---
- example 2:including figclass: margin
- ```
+````md
+```{figure} demo97/demo97_figure1.jpg
+---
+figclass: margin
+width: 50%
+name: demoexample2
+
+---
+example 2:including figclass: margin
+```
````
diff --git a/book/basic-features/hypothesis.md b/book/basic-features/hypothesis.md
index 0f42e79..49ebe28 100644
--- a/book/basic-features/hypothesis.md
+++ b/book/basic-features/hypothesis.md
@@ -1,11 +1,13 @@
-# Making comments on the website: Hypothesis
-
+````{margin}
```{admonition} User types
:class: tip
This section is useful for user type 1-5.
```
{bdg-warning}`Javascript overlay` {bdg-success}`Chrome Extension`
+````
+
+# Making comments on the website: Hypothesis
Hypothesis is a third-party application that allows anyone to make publicly visible comments on a website (once you create a free account). This section explains how to use and install the extension. As this tool requires an account with a third-party, we advise to use our [local-annotator](../external/annotater/README.md) with similar capabilities but which store annotations locally. By default Hypothesis stores annotations publicly, which might confuse other students.
diff --git a/book/basic-features/jupyterbook.md b/book/basic-features/jupyterbook.md
index 6737a17..a9d7a91 100644
--- a/book/basic-features/jupyterbook.md
+++ b/book/basic-features/jupyterbook.md
@@ -1,18 +1,17 @@
-# Anatomy of a Jupyter Book
+# Anatomy of a TeachBook
-To build a Jupyter Book, you need three things:
+To build a TeachBook, you need three things:
1. A configuration file
2. A table of contents
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 TeachBooks 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:
```yaml
-title: Jupyter Book Manual
-author: Interactive Textbooks CiTG
-logo: images/TUDelft_logo_rgb.png
+title: TeachBook Manual
+author: TeachBooks development team
copyright: CC BY-NC
execute:
@@ -23,7 +22,7 @@ sphinx:
- sphinx_inline_tabs
```
-Technically speaking, a `_config.yml` file is not required to build a Jupyter Book. If you don't make one, `jupyter book` will just use all default values. However, you should make a configuration file which includes at least the following settings:
+Technically speaking, a `_config.yml` file is not required to build a TeachBook. If you don't make one, your TeachBook will just use all default values. However, you should make a configuration file which includes at least the following settings:
- `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.
@@ -32,7 +31,7 @@ Technically speaking, a `_config.yml` file is not required to build a Jupyter Bo
In addition, the following option can also be useful:
-- `execute_notebooks`: *turn on/off* the execution of Jupyter Notebooks during the build process. *On* by default. If you perform heavy computations in your notebook (machine learning, FEM models, et cetera), you might be better off running the notebooks on a more powerful machine as opposed to the CI/CD server. To turn it off, specify the value `'off'`. You can also exclude specific notebooks by creating exclude patterns in the filenames. For more info, see the [Jupyter Book documentation](https://jupyterbook.org/en/stable/content/execute.html#exclude-files-from-execution).
+- `execute_notebooks`: *turn on/off* the execution of Jupyter Notebooks during the build process. *On* by default. If you perform heavy computations in your notebook (machine learning, FEM models, et cetera), you might be better off running the notebooks on a more powerful machine as opposed to the CI/CD server. To turn it off, specify the value `'off'`. You can also exclude specific notebooks by creating exclude patterns in the filenames. For more info, see the [Jupyter Book v1 documentation](https://jupyterbook.org/v1/content/execute.html#exclude-files-from-execution).
```{warning}
@@ -116,6 +115,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/basic-features/overview.md b/book/basic-features/overview.md
index df68f69..74b4e04 100644
--- a/book/basic-features/overview.md
+++ b/book/basic-features/overview.md
@@ -1,8 +1,10 @@
-# Original Jupyter Book and Sphinx Features
-
+````{margin}
```{admonition} User types
:class: tip
This section is useful for [user type 3-5](../installation-and-setup/user_types.md).
```
+````
-These pages will provide a list of some common, basic book features which are all available in the original

package. Additionally, this page includes also best-practices.
+# Overview
+
+These pages itemize some of the more common, basic book features which are all available in the original

package, without requiring any additional software. They are, of course, selected with teachers and teaching applications in mind. On each page best-practices are illustrated.
diff --git a/book/basic-features/utterances.md b/book/basic-features/utterances.md
index f82a44f..cbdc82e 100644
--- a/book/basic-features/utterances.md
+++ b/book/basic-features/utterances.md
@@ -1,11 +1,13 @@
-# Discussions in your book: Utterances
-
+````{margin}
```{admonition} User types
:class: tip
This section is useful for user type 3-5.
```
{bdg-white}`GitHub app and Javascript script`
+````
+
+# Discussions in your book: Utterances
[Utterances 🔮](https://utteranc.es/) is a lightweight open-source widget which allows you, your colleages and your students to discuss stuff in a blog post in your book. It is build on GitHub issues, so requires a GitHub repository, although the book can be hosted anywhere (so also on GitLab).
diff --git a/book/basic-features/videos.md b/book/basic-features/videos.md
index d623ad1..c3b4e32 100644
--- a/book/basic-features/videos.md
+++ b/book/basic-features/videos.md
@@ -13,9 +13,9 @@ kernelspec:
# Videos
-Videos uploaded to YouTube can be embedded in the Jupyter Book. There are several ways to do so:
+Videos uploaded to YouTube can be embedded in the TeachBook. There are several ways to do so:
-**1.** To embed them in the Jupyter Book, first obtain the embedding link of the video. In order to do so, go to the *YouTube* page of the video (so not the Brightspace page), then click *share* in the description box. There should be a button *embed*, click that. Copy the HTML code that appears in the panel. Then, to embed the video, use the following
+**1.** To embed them in the TeachBook, first obtain the embedding link of the video. In order to do so, go to the *YouTube* page of the video (so not the Brightspace page), then click *share* in the description box. There should be a button *embed*, click that. Copy the HTML code that appears in the panel. Then, to embed the video, use the following
```