Review Checklist
Walk this checklist before committing any change that adds, moves, renames, or restructures pages in this docs app. Each item is a prompt, not a bureaucratic gate — the goal is to catch the common failure modes where a page is added but never linked, a generated file is hand-edited, or the build is left red.
Frontmatter
- Does every new or changed page have
titleanddescription? Both are required.titledrives the sidebar label and<title>;descriptiondrives search previews, social cards, and## Contentssummaries. No empty descriptions.
Navigation contract
-
Is every new page listed in the nearest
index.md's## Contents? A page that isn't in some## Contentsis invisible to the navigation tooling. Add the link in the same commit. -
Did you add an
index.mdfor any new subdirectory? Every content directory needs anindex.mdwith its own## Contents. -
For moved pages, are both the source and destination
## Contentsupdated in this commit? History should never contain a broken intermediate state.
Links
-
Are
## Contentslinks.md-suffixed and relative? Use[Page](page.md)for leaf pages and[Section](subdir/index.md)for child directories. The remark-links transform strips.mdat build time; extension-less links break grep-based navigation and diverge from the convention. -
Do all links resolve? Click through new and changed links in the local preview, or confirm the targets exist on disk. A
.mdlink that points at a missing file renders as a dead route.
Generated manifest
- Did you leave
documentation/index.mduntouched by hand? It is generated byoat docs generate-indexonpredev/prebuild. Any manual edit is clobbered. If structure changed, edit the authored## Contentssections and letpnpm dev/pnpm buildregenerate the manifest.
Build
-
Does
cd documentation && pnpm buildsucceed? The production build catches MDX and rendering errors the dev server tolerates, and itsprebuildstep regenerates the manifest. A green build is the bar for a docs change. -
Does
pnpm run docs:format:checkpass? If not, runpnpm run docs:formatand stage the result.
Sidebar order
- Is the sidebar order sane?
If a new page needs a specific slot, add its slug to the directory's
meta.jsonpagesarray. Confirm the rendered sidebar reads in a logical order — overview/indexfirst, then pages in a sensible progression.
Accuracy
- Does the content match current repo behavior? Documenting a command, path, or feature? Confirm it exists and behaves as written. Prefer linking to source files and real commands over paraphrasing from memory. Do not claim features this app doesn't render — see Markdown Features for the supported set.