Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-van-Woudenberg committed Dec 13, 2024
1 parent 6531c4f commit dc4e7fb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions book/exercises/001.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ Can you add some content to the intro page?
4. Add a message and description of your change. With this `commit` you save your changes to the git-timeline. Any commit can always be reverted. Therefore, it's useful to shortly explain what is included in your commit. Later on, you'll make commits which may contain changes to many different files. In that case, a descriptive commit message and description is even more useful!
5. Select `Commit directly to the main branch` (this adds your change your change to the default version instead of making a new one)
6. Click `Commit changes`.
7. Go to {octicon}`play;1em` `Actions` - The most recent workflow run `Update intro.md / the commit messageof the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root`
7. Go to {octicon}`play;1em` `Actions` - The most recent workflow run `Update intro.md / the commit message of the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root`
8. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page (your browser keeps a cached version of website you recently visit, but we actually want the most up-to-date version!).

```{note} Check your understanding
```{admonition} Check your understanding
:class: note
Before moving on to the next exercise, make sure you understand the following:
- Where are the contents of the book stored?
Expand Down
6 changes: 3 additions & 3 deletions book/exercises/002.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id diam non maur
````{admonition} Need some help?
:class: tip, dropdown
Your `_toc.yml` should look like
```yml
```yaml
format: jb-book
root: intro.md
Expand All @@ -46,7 +46,6 @@ parts:
- file: exercises/004.md
- file: exercises/005.md
- file: exercises/006.md
- file: exercises/007.md
- file: references.md
- file: changelog.md
- file: credits.md
Expand All @@ -59,7 +58,8 @@ parts:
16. Go to {octicon}`play;1em` `Actions` - The most recent workflow run `Update _toc.yml / the commit message of the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root` (getting bored of waiting? There'll be exercising on doing this locally which prevents you from waiting)
17. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.

```{note} Check your understanding
```{admonition} Check your understanding
:class: note
Before moving on to the next exercise, make sure you understand the following:
- Are all files in the repository added to the website?
Expand Down
9 changes: 5 additions & 4 deletions book/exercises/003.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ Can you edit the repository url defined in the `_config.yml`, change the title s
````{admonition} Need some help?
:class: tip, dropdown
The first line of your `_config.yml` should look like
```yml
```yaml
author: <your_name>, 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>
```
````
3. In the `Edit` field, change the title of your homepage which will under the logo and above the table of contents
````{admonition} Need some help?
:class: tip, dropdown
The 21st line of your `_config.yml` should look like
```yml
```yaml
text: <your_title>
```
````
4. In the `Edit` field, change the repository url which will be used to allow other people to open your repository, suggest edits and open issues as shown in top right corner of the built book under {octicon}`mark-github;1em`.
````{admonition} Need some help?
:class: tip, dropdown
The 24th line of your `_config.yml` should look like
```yml
```yaml
repository_url: "https://github.com/<your_username>/<your_repository>"
```
````
Expand All @@ -36,7 +36,8 @@ The 24th line of your `_config.yml` should look like
9. Go to {octicon}`play;1em` `Actions` - The most recent workflow run `Update _config.yml / the commit message of the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root`
10. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.

```{note} Check your understanding
```{admonition} Check your understanding
:class: note
Before moving on to the next exercise, make sure you understand the following:
- What is this special `_config.yml` file?
Expand Down
3 changes: 2 additions & 1 deletion book/exercises/004.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Can you make a new `branch` of your book with an additional file `file_on_new_ve
10. Go to {octicon}`play;1em` `Actions` - The most recent workflow run `Update _toc.yml / the commit message of the commit you just made` - Wait for it to finish - In the summary, you should now see multiple Branches. Click on the link of your new branch ``1-<your_issue_title>`
11. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.

```{note} Check your understanding
```{admonition} Check your understanding
:class: note
Before moving on to the next exercise, make sure you understand the following:
- What is the purpose of creating a new branch in your repository?
Expand Down

0 comments on commit dc4e7fb

Please sign in to comment.