Files
hakorune/docs/guides/contributing-docs.md

1.3 KiB
Raw Blame History

Contributing Docs — Small, Linked, 3Layer

Status: Stable | Updated: 20250921 | Scope: Docs structure/policy

TL;DR

  • Keep docs small. Use 3 layers: Overview → Reference → Details.
  • No duplication: overview links to the single canonical reference.
  • Every page shows Status/Updated/Scope and has a short summary.

Layers

  • Overview (design onepager)
    • What/Why/How in bullets, ≤1 page; links to Reference/Details/Guides.
  • Reference (docs/reference/)
    • Canonical spec: invariants, API, acceptance rules. Precise and stable.
  • Details (docs/design/ or docs/development/…)
    • Background, alternatives, rationale. Optional; link from overview only.

Authoring Rules

  • One canonical spec per topic (in reference/). Others must link to it.
  • Each directory has a README.md that points to its key onepagers.
  • Crosslinks go under “See also” (≤3 items, relative paths).

Onepager Template

  • Title / Status / Updated / Scope
  • TL;DR (35 lines)
  • What (spec bullets)
  • How (integration points, ownership boundaries)
  • Links (Reference / Details / Guides)
  • Notes (constraints / future work)

Examples

  • Using→Loader overview: docs/design/using-loader-integration.md
  • MiniVM roadmap: docs/development/roadmap/phases/phase-17-loopform-selfhost/MINI_VM_ROADMAP.md