fn pages_in_scope(
state: &CourseState,
chapter: Option<Uuid>,
page: Option<Uuid>,
) -> Result<Vec<Uuid>, ToolError>Expand description
The pages scope covers in course order: chapters by module and number, each chapter’s pages
in order, then the top-level pages.