36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
schema: 1
|
|
id: sample
|
|
title: Sample course
|
|
pitch: A tiny self-contained course used by the test suite.
|
|
visibility: public
|
|
tracks:
|
|
- { id: js, label: JavaScript }
|
|
mentor: MENTOR.md
|
|
source: { kind: authored }
|
|
decks:
|
|
- { id: d1, file: media/deck.pdf, attachTo: m1-video }
|
|
modules:
|
|
- id: m1
|
|
title: First steps
|
|
code: { dir: "code/S01 - First steps", command: "sh hello.sh" }
|
|
lessons:
|
|
- { id: m1-intro, title: Introduction, type: text, file: lessons/01-intro.md }
|
|
- { id: m1-video, title: Watch the clip, type: video, file: media/clip.mp4, duration: 2, transcript: lessons/02-video.md }
|
|
- { id: m1-code, title: Code along, type: text, file: lessons/03-code.md }
|
|
- id: m2
|
|
title: Exercises
|
|
lessons:
|
|
- { id: m2-text, title: Adding numbers, type: text, file: lessons/04-exercise.md }
|
|
- id: m2-ex-add
|
|
title: "Exercise 2.1: add"
|
|
type: exercise
|
|
file: lessons/04-exercise.md
|
|
anchor: exercise-21--add
|
|
hints: { file: lessons/04-exercise.md, match: "Exercise 2.1 (add)" }
|
|
browser:
|
|
language: js
|
|
starter: exercises/add/starter.js
|
|
tests: exercises/add/tests.js
|
|
solution: exercises/add/solution.js
|
|
localCommand: "node --test"
|