Official documentation for EmitKit - an event streaming and notification platform focused on awareness, not analysis.
- Node.js 16+
- Mintlify CLI
# Install Mintlify CLI globally
npm i -g mint
# Or use the npm script
npm run install-mintlify# Start local development server
mint dev
# Or use the npm script
npm run devVisit http://localhost:3000 to preview the documentation.
/- Getting started and overview/quickstart- Quick start guide/sdk/*- TypeScript SDK documentation/concepts/*- Core concepts and architecture/self-hosting/*- Self-hosting guides/api-reference/*- API reference (auto-generated from OpenAPI)
To update the API reference with the latest production spec:
npm run sync-openapiThis will:
- Fetch the latest OpenAPI spec from
https://api.emitkit.com/api/openapi.json - Preserve custom SDK examples (
x-codeSamples) - Save the merged result to
api-reference/openapi.json
See scripts/README.md for more details.
Changes are automatically deployed to production when pushed to the default branch.
Preview changes using pull requests, which generate a preview link.
- Mintlify dev isn't running: Run
mint updateto ensure you have the latest CLI - Page loads as 404: Make sure you're running in the folder with
docs.json - OpenAPI sync fails: Check that
https://api.emitkit.com/api/openapi.jsonis accessible
When updating documentation:
- Make changes to
.mdxfiles - Run
mint devto preview locally - If API changes, run
npm run sync-openapi - Commit and push changes