Welcome to the Botpress documentation repository. This project powers the docs site of Botpress, the complete AI Agent platform.
To get started with contributions, please review the entire README.
To contribute, install the following software if you haven't already:
- VS Code, Cursor, or another text editor
- Node.js (v18 or higher)
- pnpm package manager
- Vale for writing style checks (optional but recommended)
-
Clone the repository:
git clone https://github.com/botpress/docs.git cd docs
-
Install dependencies:
pnpm install
-
Start the development server:
mint dev
This will start a local Mintlify server at
http://localhost:3000
.
The Botpress documentation is built with Mintlify. Here's how the project is organized:
docs/
├── docs.json # Mintlify configuration & navigation
├── home.mdx # Homepage content
├── learn/ # Learning materials and guides
├── integrations/ # Integration documentation
├── webchat/ # Webchat-specific docs
├── for-developers/ # Developer-focused content
├── api-reference/ # API documentation
├── snippets/ # Reusable content snippets
├── changelog.mdx # Product changelog
├── *-openapi.json # OpenAPI specifications
└── assets/ # Images and other static files
All documentation is written in MDX (Markdown with JSX components). You can find full list of supported components in the Mintlify documentation.
Note
If you're using VS Code or Cursor, we recommend also installing the official Mintlify extension. This will enable autocomplete for most Mintlify components.
- Mintlify supports responsive light/dark images. If you're using UI screenshots, make sure you include both a light and dark version.
- Wrap all images in Mintlify's Frame component.
- Include appropriate alt text for all images
If you're using VS Code or Cursor, you can use the snippet at /.vscode/mdx.code-snippets
for any images.
The docs.json
file at the root of the repository determines the navigation structure of the documentation. If you're adding new pages, make sure you update docs.json
to include them.
Botpress uses Vale to enforce consistent style and branding throughout the documentation. Vale executes on all pull requests in this repository.
You can also run Vale locally using the Vale CLI:
- Install Vale if you haven't already
- Download the required packages:
vale sync
- Run a writing check against files you've modified:
make check-writing
Note
If you need Vale to ignore a certain flag within the context you're writing about, you can use comment-based configuration to disable rules within a given section.
To check for broken links, run:
mint broken-links
This check also runs on every pull request in the repository.
- Fork the repository
- Create a feature branch:
git checkout -b name/feature/your-improvement
- Make your changes following our style guidelines
- Test your changes locally with
mint dev
- Validate writing style with
make check-writing
(if Vale is installed) - Check for broken links using
mint broken-links
- Submit a pull request with a clear description of your changes
Use this repository for specific documentation-related issues only. Report any product bugs (or general documentation feedback) via Discord.
Join the conversation on our Discord server for any other questions related to Botpress—we'd love to hear from you.
Thank you for helping us improve the Botpress documentation!