The top-level layouts/ directory does not exist; the wrappers live in library/layouts/. Six references across four docs named the phantom path, including a copy-pasteable cd command and a README-longform link that resolved to docs/layouts/README.md (a 404). how-to.md taught bunx for the iOS scaffold. bunx is not on PATH here, which is the exact failure package.json already documents in cap:sync; point both at the local bin. useMapProvider.js's own header listed three resolution rungs, omitting ?provider= and misnumbering window.MAP_PROVIDER. The function implements four. how-to.md was correct. |
||
|---|---|---|
| .. | ||
| app-wrappers.md | ||
| color-strategies.md | ||
| components.md | ||
| data-sources.md | ||
| embeddability.md | ||
| file-map.md | ||
| i18n.md | ||
| patterns-and-provenance.md | ||
| poster-generation.md | ||
| README.md | ||
docs/architecture/ — the deep end
Everything complex lives here, on purpose. The rest of the docs stay simple ("what it does"); when a simple doc says "full contract in architecture/…", this is where it points.
| Doc | What it holds |
|---|---|
| file-map.md | every file, one line each, with the gotcha each carries |
| data-sources.md | the api/ seam — connection contract + add-a-source checklist |
| color-strategies.md | the color-strategy contract + legend wiring |
| components.md | shared component catalog + shadow-DOM conventions |
| i18n.md | the locale contract + add-a-language checklist |
| embeddability.md | the generated per-map pages + manifest that make every map embeddable by default |
| app-wrappers.md | the SPA shell: nav.js + PROFILES contracts, bun run shell pipeline |
| poster-generation.md | the poster/preview generator pipeline |
| patterns-and-provenance.md | the two multi-map patterns in depth + where the design comes from |
Simple docs: ../why.md · ../tutorial.md · ../how-to.md · ../reference.md · ../explanation.md