Skip to content

Authoring

Courses live in src/content/courses/<course>/:

  • _course.mdx is the sales page and declares slug, status, instructor and access.
  • NN-name/_module.yaml declares a module.
  • NN-name/NN-name.mdx is a lesson. Use preview: true for a free preview of a paid course and draft: true to keep a lesson out of production.

Run stratolms check before a build. It validates the same Markdown/MDX/YAML shape used by the Astro content collections, course ownership, numbering, links, media, publication and commerce rules. A clean check means the files were parsed; it is not owner, provider, browser or deployment approval.

Supported video plans are YouTube privacy embeds, Vimeo, Cloudflare Stream, Bunny Stream, Mux Player embeds and same-origin self-hosted files. Optional signed playback is available for Mux, Cloudflare Stream, and Bunny Stream; protected R2 files use the Cloudflare adapter. See the media guide for access-controlled configuration. Provide a transcript for each video; captions remain the creator’s obligation for owned media.