Skip to content

Commit 8c7ca03

Browse files
authored
images
1 parent e45414c commit 8c7ca03

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

β€Ždocs/index.mdβ€Ž

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,31 @@ Ines Montani [discusses in detail each section](https://github.com/UBC-MDS/cours
396396

397397
These are the files that make up the topics of your course and will be displayed on your course site as below:
398398

399+
![](img/chapters_img.png)
400+
###### Source: Ines Montani from https://course.spacy.io
399401

402+
each md file in here will need the specified yaml that Ines explains:
403+
404+
```
405+
---
406+
title: The chapter title
407+
description: The chapter description
408+
prev: /chapter1 # exact path to previous chapter or null to not show a link
409+
next: /chapter3 # exact path to next chapter or null to not show a link
410+
id: 2 # unique identifier for chapter
411+
type: chapter # important: this creates a standalone page from the chapter
412+
---
413+
```
414+
The only things I want to emphasis is as follows:
415+
416+
1. Make sure each id is unique or you may have some issues with some modules not showing up
417+
2. Make sure that you take care specifying the correct `prev` and `next` otherwise it could damage the flow of your material.
418+
3. you don't need to have your extension of your course labeled as "chapters" if you wish to call each topic here something other than chapter in the url then simply change the file names to `module`, `topic`, `lecture` followed by the number instead. Do not change the folder name and do not change the `type` in the yaml.
419+
420+
Each chapter file with contain the blueprint of what that chapter will look like. Specifically:
421+
422+
![](img/chapters_layout.png)
423+
###### Source: Ines Montani from https://course.spacy.io/chapter1
400424

401425

402426
### `static` folder
@@ -425,7 +449,7 @@ ex:
425449
β”œβ”€β”€ img_n.jpg
426450
└── video_n.mp4
427451
```
428-
The required images are all specified in Ine's documentation in her [`README.md` here](https://github.com/UBC-MDS/course-starter-python#static-assets).
452+
The required images are all specified in Ines' documentation in her [`README.md` here](https://github.com/UBC-MDS/course-starter-python#static-assets).
429453

430454
#### Enbedding Video and Audio in Slides
431455

0 commit comments

Comments
Β (0)