Skip to content

Commit e15993a

Browse files
authored
Fix challenge numbers and move to challenges/ dir (#22)
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.
1 parent ebb5c7f commit e15993a

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

Diff for: doc/src/SUMMARY.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
---
1414

15-
# Challenges
16-
- [Core Transmutation](./core-transmutation.md)
17-
- [Memory safety of core intrinsics](./intrinsics-memory.md)
15+
- [Challenges](./challenges.md)
16+
- [Core Transmutation](./challenges/0001-core-transmutation.md)
17+
- [Memory safety of core intrinsics](./challenges/0002-intrinsics-memory.md)

Diff for: doc/src/challenges.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This chapter contains all existing challenges, including the ones that have already been solved or expired.
2+
3+
For the most up-to-date information on a challenge status,
4+
please check their tracking issue linked in the challenge description.
5+
6+
If you would like to submit a new challenge, please see
7+
["Call for Challenges" section](./general-rules.md#call-for-challenges).
File renamed without changes.

Diff for: doc/src/intrinsics-memory.md renamed to doc/src/challenges/0002-intrinsics-memory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ All proofs must automatically ensure the absence of the following undefined beha
8383
* Producing an invalid value
8484

8585

86-
Note: All solutions to verification challenges need to satisfy the criteria established in the [challenge book](general-rules.md)
86+
Note: All solutions to verification challenges need to satisfy the criteria established in the [challenge book](../general-rules.md)
8787
in addition to the ones listed above.

Diff for: doc/src/template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Challenge XXXX[^challenge_id]: Challenge Title
22

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

0 commit comments

Comments
 (0)