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.
- Discovery
Error - Why one manifest entry could not be discovered: its slug and the underlying load failure.
- Lesson
Slug - A lesson’s course-scoped identity: the
idan author gives an entry inblendtutor.toml. - Lesson
Summary - 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. - Manifest
Entry - One lesson’s entry in a
Manifest: its course slug and the file that holds it, relative to the manifest. - Site
Config - Site-level configuration from the optional
[site]section ofblendtutor.toml.
Enums§
- Manifest
Error - Why a
blendtutor.tomlcould not be turned into aManifest.