Documentation site for Paygate — a portfolio payment gateway. Built with Fumadocs.
Live: https://paygate-docs.vercel.app
API: https://paygate-api.fly.dev
Dashboard: https://paygate-dashboard.vercel.app
| Page | Path |
|---|---|
| Quickstart | content/docs/quickstart.mdx |
| Authentication | content/docs/authentication.mdx |
| Charges | content/docs/charges.mdx |
| Refunds | content/docs/refunds.mdx |
| Webhooks | content/docs/webhooks.mdx |
| Entity IDs | content/docs/entity-ids.mdx |
| Errors | content/docs/errors.mdx |
| Framework | Next.js 15 (App Router) |
| Docs engine | Fumadocs v16 + fumadocs-mdx v14 |
| Styling | Tailwind CSS v4 |
| Deployment | Vercel |
Requirements: Node.js 20+
git clone https://github.com/MahmoudBakr23/paygate-docs
cd paygate-docs
npm installCreate .env.local:
NEXT_PUBLIC_API_URL=https://paygate-api.fly.dev
npm run devOpen http://localhost:3000.
- Create a new
.mdxfile undercontent/docs/ - Add frontmatter:
title,description - Run
npx fumadocs-mdxto regenerate.source/(CI does this automatically) - Add the page to
app/source.tsif needed
The .source/ directory is gitignored — it is generated at build time by the CI job and next build.
npx fumadocs-mdx # regenerate .source/
npm run buildCI deploys automatically on push to dev via .github/workflows/ci.yml.