Skip to content

Commit eaf5f99

Browse files
committed
docs: link setup-exercises in README; sample-book: add Setup page including setup exercise and update SUMMARY
1 parent 47b0a5e commit eaf5f99

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ See the [examples](./examples) directory for complete exercise examples:
429429
### Course Developer Guides
430430

431431
- Organizing and integrating exercises (include-only pattern): see `docs/exercises-integration.md`.
432+
- Setup exercises (ID suffix `-setup`, position `00`): see `docs/setup-exercises.md`.
432433

433434
### Sample mdBook
434435

sample-book/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Summary
22

33
- [Introduction](intro.md)
4+
- [Setup](setup.md)
45
- [Exercises](exercises.md)

sample-book/src/setup.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Environment Setup
2+
3+
This page demonstrates a setup exercise included at the start of a chapter. Setup exercises use the same directives as regular exercises and are identified by an ID that ends with `-setup` (recommended position `00`).
4+
5+
{{#exercise ../../examples/ch02-environment-setup.md}}

0 commit comments

Comments
 (0)