Expand description
Exercise paths: /tasks/<task id>/... and /review_instructions/..., and the page-content
paths of the instructions they lead into.
Structsยง
- PartOps ๐
- The ops of one instruction list, with their indexes in the call.
Enumsยง
- Exercise
Part ๐ - Which part of an exercise a path starts at.
Functionsยง
- call_
index ๐ - The callโs index of op
opof a group whose ops are atindexesin the call. - group_
ops ๐ - Groups the ops by the instructions they edit and rewrites their paths to page-content paths.
- in_call ๐
errorof one groupโs ops, with the op index it names translated to the callโs.- part_
list ๐ - The instruction list
partof the exercise is instate, or why it has none. - part_
prefix ๐ - The prefix to put back on the paths a read of
partreturns. - prefix_
paths ๐ - Prefixes every block path in a read result with
prefix. - split_
exercise_ ๐path - Splits
/tasks/<task id>/restor/review_instructions/restinto the part and the page-content path of the rest,""for the partโs top level.