Skip to content

Docs Content Model

The docs app grows from curated, stable pages instead of automatically publishing every Markdown file in the repository. It is now a live static site at https://docs.wavemap.app, so the migration policy must protect the public publishing boundary as much as the information architecture.

For day-to-day page placement, figure handling, and maintenance conventions, use Docs Authoring And Maintenance.

  • Admin / Content: Content concepts, CMS workflows, and role explanations for non-platform operators.
  • Developer: Architecture, testing, release identity, package/app guidance, ADRs, and docs-site maintenance.
  • Operations / Platform: Deployment, runbooks, recovery, runtime config, generated artifacts, and approval gates.

Roadmaps, ADRs, generated projections, and docs-site policy should support those reader jobs instead of becoming a separate top-level trunk by default.

ClassDefault HandlingExamples
Durable referenceMove or summarize into the docs app as stable pages.Testing conventions, auth architecture, release identity vocabulary.
Operations and runbooksPublish only the safe, reviewed operator path. Keep sensitive command evidence out.SOPs, deployed-dev operator recipes, backup or reset policy.
Living roadmapsKeep as source planning docs in working-notes/ until sections become stable enough to extract.Dev deployment roadmap, auth push roadmap, feature roadmaps.
App-local implementation notesLeave near the owning code until the pattern is durable across surfaces.Add Artist media notes, component notes, temporary page roadmaps.
Generated projectionsPublish only reviewed, sanitized outputs after deterministic artifact capture and human review.Reviewed topology SVG figures and source sidecars.
Raw artifactsKeep private by default.Pulumi exports, live AWS inventory, workflow evidence, topology snapshots.
Working notesKeep outside the published docs build.apps/wavemap-docs/working-notes planning files and scratch implementation.
  • Start with audience landing pages that summarize the reader job and link back to the current source documents.
  • Decompose large documents only when a section has become stable enough to be useful outside the roadmap.
  • Preserve working roadmap checklists in apps/wavemap-docs/working-notes/ until the project no longer needs them as active planning surfaces.
  • Keep source-of-truth operational contracts in the code, manifests, scripts, Pulumi outputs, and validators that enforce them.
  • Treat docs pages as explanations and navigation, not as hand-maintained replacements for deterministic artifacts.
  • Keep path-filtered docs deploys from publishing working-note churn by itself.
  • Promote stable roadmap decisions into modular pages, then cut the duplicated material from the roadmap.
  • Keep working-notes/ outside the generated site unless a section has been reviewed and intentionally promoted.
  • Avoid secret values, credential material, account-specific proof, raw logs, and live cloud evidence.
  • Avoid raw cloud inventory, raw Pulumi exports, and unsanitized topology in curated pages.
  • Name approval gates beside any operator path that could mutate live infrastructure, permissions, deployments, or data.
  • Prefer stable concepts, code-owned contracts, and sanitized summaries over transient proof from a single run.
  • Publish generated diagrams only after a sanitized review decision approves the figure slot and promoted asset path.

Docs figures should make their provenance obvious from their storage lane:

Figure classPublic asset pathSource and review model
Generated topology projectionssrc/content/docs/figures/topology/fig-*.svgReviewed generated figure with .mmd sidecar, candidate provenance, and topology figure-slot ledger entry.
Authored conceptual diagramssrc/content/docs/figures/concepts/fig-*.svgHuman-authored explanatory diagram with .mmd sidecar and no generated-topology candidate or ledger slot.
Screenshots or bitmap figuressrc/content/docs/figures/screenshots/fig-*.<format>Purpose-specific visual evidence; prefer refreshed captures over hand-edited screenshots.
Raw or private artifactsOutside the published docs tree, usually under private workflow outputs or local operator paths.Never publish directly; promote only sanitized derivatives into one of the public lanes.

Prefer SVG for diagrams because it stays readable, diffable, and friendly to Astro image handling. Keep Mermaid source beside any Mermaid-derived figure so readers can inspect intent without treating the rendered asset as the only editable surface. Use the topology figure-slot ledger only for deterministic generated topology projections; authored conceptual diagrams should instead be reviewed like normal docs content.

  • Pull request docs previews.
  • Versioned docs.
  • Generated API docs publishing.
  • Automated generated topology publishing.
  • Access-control policy for private docs.
  • Automated migration from repo Markdown into Starlight content.