NotifyHub

Docs Workflow

How NotifyHub publishes narrative docs and API reference from the standalone docs app.

NotifyHub treats documentation as its own product surface.

Source of truth

  • Public route schemas and metadata live in apps/web.
  • Generated OpenAPI artifacts belong in packages/api-types.
  • apps/docs consumes those artifacts and renders the public docs site.

Route model

  • /docs serves narrative MDX pages.
  • /docs/openapi/* serves virtual API reference pages generated by fumadocs-openapi.
  • The docs app does not require the dashboard runtime to expose /api/openapi.

Build order

  1. Update route schemas and contract metadata.
  2. Generate the OpenAPI artifact.
  3. Run or build apps/docs; its scripts refresh the package artifact before Fumadocs loads it.

Artifact location

apps/docs reads the generated packages/api-types/openapi.json artifact directly.

On this page