This repository contains the documentation for Basedash, our AI-native business intelligence platform. This guide will help you get set up and make changes to the documentation.
-
Install Required Software
-
Clone the Repository Open Terminal and run these commands:
cd Documents # or wherever you want to store the project git clone https://github.com/Basedash/docs.git cd docs
-
Install Dependencies
pnpm add -g mint # Install Mintlify CLI globally
You'll need to follow these steps every time you want to make a change.
-
Get Latest Changes Before making any changes, always get the latest updates:
git pull origin main
-
Using Cursor
- Open Cursor
- Choose "Open Folder" and select the
docsfolder - Press ⌘I to activate the AI assistant
- Type your request in plain English, and the AI will help you make changes
-
Testing Your Changes To preview your changes locally, run:
mint dev
This will start a local server at http://localhost:3000 where you can preview the changes.
-
Saving Your Changes After making changes, run:
git add . git commit -m "Describe your changes briefly here" git push origin main
- If
mint devisn't working:- Run
mint installto reinstall dependencies
- Run
- If a page shows as 404:
- Make sure you're in the correct folder with
docs.json
- Make sure you're in the correct folder with
Changes will automatically be deployed to production after pushing to the main branch.
Our public API reference pages are automatically generated from our OpenAPI specification hosted at https://charts.basedash.com/api/public/openapi. Mintlify reads this spec and auto-populates the API endpoint pages, so there's no need to manually create or update individual API pages.
For more details on how this works, see the Mintlify OpenAPI setup documentation.
If you get stuck at any point:
- Use the Cursor AI to ask for help
- Reach out to the development team on Slack
- Check the Mintlify documentation