Welcome to the Ankra Mintlify documentation starter! This project provides a robust foundation for building and customizing your API and product documentation using Mintlify.
- Structured guide pages for onboarding and usage
- Customizable navigation and theming
- Auto-generated API Reference from OpenAPI specs
- Rich component library for interactive docs
- Easy local development and preview
-
Clone this repository Use this template to kickstart your own documentation project.
-
Install Mintlify CLI The Mintlify CLI lets you preview and develop your docs locally. Install globally with:
npm i -g mintlify
-
Preview Documentation Locally From the root directory (where
docs.jsonis located), run:mintlify dev
This will start a local server so you can view and edit your documentation in real time.
-
The API Reference tab is auto-generated from your OpenAPI specification.
-
To update the API docs, edit the
openapifield indocs.jsonto point to your OpenAPI JSON or YAML file. -
Example:
{ "tab": "API Reference", "openapi": "https://platform.ankra.app/openapi.json" }
- Connect your GitHub repository to Mintlify for automatic deployments.
- Changes pushed to your default branch will be published to your live documentation site.
- Mintlify CLI not running?
Run
mintlify installto re-install dependencies. - 404 errors?
Ensure you are running the CLI in the directory containing
docs.json. - OpenAPI not loading?
Double-check your
openapiURL and ensure it is a valid OpenAPI 3.0+ document.
For questions or support, reach out to the Ankra team or join the Mintlify community!