This repository contains the source files for developers.kajabi.com, Kajabi's public API documentation site built with Mintlify.
├── openapi.yaml # OpenAPI 3.0 spec (auto-generated from main app)
├── docs.json # Mintlify configuration file
├── api-reference/ # Custom documentation pages
│ ├── introduction.mdx
│ └── authentication.mdx
├── changelog.mdx # API changelog page
├── logo/ # Branding assets
│ ├── light.svg # Logo for light mode
│ └── dark.svg # Logo for dark mode
└── favicon.png # Site favicon
-
openapi.yaml: The OpenAPI specification that Mintlify uses to auto-generate API endpoint documentation. This file is automatically generated from the main Kajabi application and should not be edited directly in this repository. -
docs.json: The main configuration file that controls:- Site theme and appearance (colors, fonts, layout)
- Navigation structure (tabs, groups, pages)
- Branding (logos, favicon)
- External links (status page, feedback form, login)
- Contextual features (copy, AI integrations)
-
api-reference/: Custom MDX pages for introductory content that appears alongside the auto-generated API reference. -
changelog.mdx: Manually maintained changelog documenting API updates and changes.
Install the Mintlify CLI to preview your documentation changes locally:
npm i -g mintRun the following command at the root of your documentation, where your docs.json is located:
mint devView your local preview at http://localhost:3000. If port 3000 is already in use, the site will run on the next available port (e.g., 3001).
Before committing changes, always:
- Run
mint devto preview changes locally - Check that navigation works correctly
- Verify all links are functional
- Review the changelog if you've added entries
- Test on both light and dark modes if you've changed styling
The site uses the "aspen" theme with custom Kajabi branding. To modify colors, fonts, or theme settings, edit docs.json:
{
"theme": "aspen",
"colors": {
"primary": "#ff757a",
"light": "#fe7279",
"dark": "#ff757a"
}
}The site uses two custom Kajabi fonts:
- Faire Sprig (body text)
- Greet (headings)
Both fonts are hosted on Kajabi's CDN and configured in docs.json.
Navigation is organized into tabs defined in docs.json:
- API Documentation tab: Contains the auto-generated API reference and custom intro pages
- Changelog tab: Displays the API changelog
To modify navigation:
- Open
docs.json - Edit the
navigation.tabsarray - Add/remove pages or groups as needed
- Test locally with
mint dev
To update logos or favicon:
- Replace the files in
/logo/or root directory - Keep the same filenames, or update references in
docs.json - Ensure logos work well on both light and dark backgrounds
The site includes several integrated links configured in docs.json:
- Status page: Links to https://status.kajabi.com/
- Feedback form: Typeform for user feedback (https://kajabi.typeform.com/to/CO8xXiGz)
- Login link: Direct link to Kajabi app login
- Contextual integrations: Copy, ChatGPT, Claude, Perplexity, MCP, Cursor, VSCode
- Create a new
.mdxfile in the appropriate directory (e.g.,api-reference/new-page.mdx) - Add frontmatter if needed (title, description, etc.)
- Update
docs.jsonto include the new page in the navigation structure - Test locally with
mint dev - Commit and push to deploy
- Edit
changelog.mdx - Add new entries at the top with dates
- Follow the existing format for consistency
- Test locally to ensure formatting is correct
- Commit and push to deploy
This repository is connected to Mintlify via the GitHub App.
Changes are automatically deployed to production when pushed to the main branch.
- Create a feature branch for your changes
- Make and test your changes locally
- Push your branch and create a pull request
- After review and approval, merge to
main - Mintlify automatically detects the change and deploys within minutes
- Verify changes at https://developers.kajabi.com
Visit the Mintlify dashboard to:
- View deployment status and logs
- Configure GitHub integration settings
- Manage team access
- View analytics
- Dev environment isn't running: Run
mint updateto ensure you have the most recent version of the CLI - Page loads as 404: Make sure you are running in a folder with a valid
docs.json - Port conflicts: If port 3000 is in use, Mintlify will automatically use the next available port
- Changes not reflecting: Clear your browser cache or do a hard refresh (Cmd+Shift+R on Mac)
- Navigation not appearing: Check that your
docs.jsonsyntax is valid (use a JSON validator) - Custom fonts not loading: Verify the font URLs are accessible and the format is correct
- Broken links: Ensure all page references in
docs.jsonmatch actual file paths (without.mdxextension)
- Changes not deploying: Check the Mintlify dashboard for deployment logs and errors
- OpenAPI changes not reflected: The
openapi.yamlfile is generated from the main app; updates happen through that process