Full Next.js example
This is a full-featured boilerplate for a creating a documentation website using Markdoc and Next.js.
Setup
First, clone this repo and install the dependencies required:
npm install
# or
yarn install
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying index.md. The page auto-updates as you edit the file.
Deploy
The quickest way to deploy your own version of this boilerplate is by deploying it with Vercel or Netlify by clicking one of the buttons below.
Deploy with Vercel
Deploy to Netlify
Contributing
When making documentation only changes, use branch names prefixed with docs/:
git checkout -b docs/your-change-description
Examples:
docs/add-mcp-tutorialdocs/fix-installation-stepsdocs/update-api-reference
For full contribution guidelines, see the Contributing Guide.