Context
Developer docs are the product's front door for integrators. Serve them with the framework's docs tooling (bunpress via @stacksjs/docs, buddy dev docs / buddy build docs) from this repo's docs/.
Scope
- Quickstart: account -> project -> first event via curl -> first auto-report, in under five minutes, every command copy-pasteable and tested.
- Ingestion reference: publish
docs/ingest.md(#6) - wire contract, limits, error semantics, idempotency guidance. - Event taxonomy reference:
docs/events.md(#6) rendered as browsable reference - every reserved event name, required/optional properties, which auto-report templates (#14) each feeds. - Integration guides: Stacks package (#7) and Laravel package (#8) - install, config, custom observer registration, sampling, self-test ("send a test event") instructions.
- Report builder guide: blocks, measures, dimensions, filters, comparisons - written from the shared validation schema (#9) so terms match the UI exactly.
- Sharing/embeds guide (#16) and schedules/exports guide (#15).
- Limits + billing doc: publish
docs/limits.md(#18) including the overage policy, verbatim from the enforcement config. - Self-hosting guide: run ReportsHQ yourself (SQLite/Postgres,
STRIPE_*unset = everything free, ingest hygiene) - loghq's self-hostable posture applies here too. - API reference:
buddy generate:openapioutput published; bearer-auth examples for the read/query APIs (#6, #10). - Docs nav/sidebar structured per the above; docs share the #3 token family (bunpress theme configured accordingly, within what
config/docs.tssupports).
Acceptance
buddy build docssucceeds in CI; every code sample is executed by a test or script (no rotting samples); quickstart verified end-to-end against a fresh dev instance.
Depends on #6, #7, #8, #12, #15, #16, #18. Part of #1 (M7 Launch). Ground rules: see #1.