This is the official documentation site for the Weblinq API, built with Mintlify.
- Node.js (version 19 or higher)
- Mintlify CLI installed globally:
npm i -g mintlify
To avoid port conflicts with the Next.js frontend (which runs on port 3000), the documentation server runs on port 3001.
cd docs
npm run devcd docs
mintlify dev --port 3001The documentation site will be available at: http://localhost:3001
npm run dev- Start development server on port 3001npm run dev:open- Start development server and open in browsernpm run dev:no-open- Start development server without opening browser
- Frontend (Next.js): http://localhost:3000
- Documentation (Mintlify): http://localhost:3001
- Backend (Cloudflare Workers): Configured via Wrangler
docs/
├── docs.json # Mintlify configuration
├── index.mdx # Homepage
├── quickstart.mdx # Getting started guide
├── authentication.mdx # API authentication guide
├── development.mdx # Development setup
├── api-reference/ # API endpoint documentation
├── images/ # Documentation images
└── logo/ # Brand assets
Documentation is automatically deployed via Mintlify's GitHub integration when changes are pushed to the main branch.
- Branding: Update
docs.jsonfor colors, logo, and navigation - Content: Edit
.mdxfiles using Markdown with React components - API Reference: Add OpenAPI specs in the
api-reference/directory
- Port conflicts: Use
--port 3001flag to avoid conflicts with other services - CLI issues: Run
mintlify installto reinstall dependencies - 404 errors: Ensure you're running from the directory containing
docs.json - Updates: Run
npm i -g mintlify@latestto update the CLI