Development
Prerequisites: Node.js 18+ and the incopay-docs folder.
Preview on Vercel stack (recommended)
This folder is a Next.js site. MDX lives in content/.
cd incopay-docs
npm install
npm run dev
Open http://localhost:3333 — sidebar + same IncoPay pages as production on Vercel.
Deploy on Vercel
- Import the Git repo in Vercel.
- Set Root Directory to
incopay-docs. - Framework: Next.js (auto-detected). Build:
npm run build, Output: default. - Deploy.
Environment variables are optional for static docs.
Preview with Mintlify (optional)
If you use docs.json and the Mintlify CLI (e.g. for Mintlify Cloud):
npm i -g mint
cd incopay-docs
mint dev
Mintlify reads MDX from the repo paths configured in docs.json (not only content/). For Vercel, the source of truth for routes is content/ + app/docs/[[...slug]].
Working on the IncoPay app (my-app/)
- Open
my-app/in your editor. - Follow the Quickstart for install,
.env, and running Kora + facilitator + Next.js. - See
my-app/README.mdfor program IDs and troubleshooting.
For Mintlify-only features, see Mintlify documentation.
