diff --git a/docs/authoring-learn.md b/docs/authoring-learn.md new file mode 100644 index 0000000..7c709ea --- /dev/null +++ b/docs/authoring-learn.md @@ -0,0 +1,74 @@ +# Authoring Learn Content — Fact-Grammar Convention + +> **Diataxis type:** How-to — a short authoring convention for anyone writing or +> editing `src/content/learn/**/*.yaml`. +> +> **Audience:** contributors editing learn article YAML. Assumes familiarity +> with the section/subsection shape documented inline in +> `src/content/config.ts` (`sectionSchema`, `subsectionSchema`, `itemSchema`, +> `tableSchema`). + +## Why this doc exists + +A learn section can present a set of name/value facts three different ways: + +1. `items:` — rendered as a definition list by `PropertyList.astro`. +2. `table:` — rendered as a real `