Skip to content

Documentation Standards

  • Purpose
  • Entry points / usage
  • API contract (props, context, return values)
  • State and side effects
  • Error/loading/empty behavior
  • Dependencies and related files

A frontend PR should include docs updates when it changes:

  • shared component API
  • context/provider contract
  • module behavior or route flow
  • architecture-level wiring
  • Keep examples copyable and current.
  • Prefer exact file paths and type names.
  • Avoid speculative docs; only document current behavior.
  • Mark deprecated APIs explicitly.