Skip to content

Commit

Permalink
Fix challenge numbers and move to challenges/ dir (#22)
Browse files Browse the repository at this point in the history
The challenges numbers in the index are being counted as a new chapter.
Instead convert "Challenges" into a chapter, and add a little blob for
the challenges chapter,
since mdbook requires all chapters to be a page.
  • Loading branch information
celinval authored Jun 21, 2024
1 parent ebb5c7f commit e15993a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions doc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

---

# Challenges
- [Core Transmutation](./core-transmutation.md)
- [Memory safety of core intrinsics](./intrinsics-memory.md)
- [Challenges](./challenges.md)
- [Core Transmutation](./challenges/0001-core-transmutation.md)
- [Memory safety of core intrinsics](./challenges/0002-intrinsics-memory.md)
7 changes: 7 additions & 0 deletions doc/src/challenges.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This chapter contains all existing challenges, including the ones that have already been solved or expired.

For the most up-to-date information on a challenge status,
please check their tracking issue linked in the challenge description.

If you would like to submit a new challenge, please see
["Call for Challenges" section](./general-rules.md#call-for-challenges).
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ All proofs must automatically ensure the absence of the following undefined beha
* Producing an invalid value


Note: All solutions to verification challenges need to satisfy the criteria established in the [challenge book](general-rules.md)
Note: All solutions to verification challenges need to satisfy the criteria established in the [challenge book](../general-rules.md)
in addition to the ones listed above.
2 changes: 1 addition & 1 deletion doc/src/template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Challenge XXXX[^challenge_id]: Challenge Title

- **Status:** *One of the following: [Open | Resolved | Expired]*
- **Status:** *One of the following: \[Open | Resolved | Expired\]*
- **Solution:** *Option field to point to the PR that solved this challenge.*
- **Tracking Issue:** *Link to issue*
- **Start date:** *YY/MM/DD*
Expand Down

0 comments on commit e15993a

Please sign in to comment.