Module course

Module course 

Source
Expand description

Course discovery: a course directory’s manifest and the lessons it lists.

Holds the Manifest (the parsed blendtutor.toml), the Course that owns a course directory, and Course::discover — the effectful walk that reads each listed lesson and summarizes it. A discovered entry is a Result<LessonSummary, DiscoveryError> so a malformed lesson is reported as an error row, never aborting the scan nor silently dropped (ADR-0004). This module does not validate lesson semantics beyond what crate::lesson already does (§4.1); it adds only the course-scoped slug and the partial-failure shape.

Structs§

Course
A course directory: its root and parsed manifest.
DiscoveryError
Why one manifest entry could not be discovered: its slug and the underlying load failure.
LessonSlug
A lesson’s course-scoped identity: the id an author gives an entry in blendtutor.toml.
LessonSummary
One discovered lesson, as listed: its course slug, language, and title.
Manifest
A course manifest: the ordered list of lessons a course contains, parsed from blendtutor.toml.
ManifestEntry
One lesson’s entry in a Manifest: its course slug and the file that holds it, relative to the manifest.
SiteConfig
Site-level configuration from the optional [site] section of blendtutor.toml.

Enums§

ManifestError
Why a blendtutor.toml could not be turned into a Manifest.