Documentation
Quick Start
Get your documentation site up and running in under 5 minutes
This guide will help you set up Unmint and create your first documentation page.
Prerequisites
Before you begin, make sure you have:
- Node.js 18+ installed
- npm or pnpm package manager
- A code editor (VS Code recommended)
Installation
Clone the repository
Start by cloning the Unmint template:
git clone https://github.com/gregce/unmint.git my-docs
cd my-docsInstall dependencies
Install the required npm packages:
npm installStart the development server
Create your first page
Add a new MDX file in content/docs/:
---
title: My First Page
description: A description of my page
---
# Hello World
This is my first documentation page!Project Structure
Here's an overview of the key directories:
my-docs/
├── app/ # Next.js app directory
│ ├── docs/ # Documentation routes
│ └── components/ # UI components
├── content/
│ └── docs/ # Your MDX documentation files
│ ├── index.mdx # Homepage
│ └── meta.json # Navigation structure
├── lib/
│ └── theme-config.ts # Customize your theme here
└── public/ # Static assetsAdding Navigation
Edit content/docs/meta.json to configure your sidebar navigation:
{
"title": "Documentation",
"pages": [
"index",
"quickstart",
"---Getting Started---",
"installation",
"configuration"
]
}Info
Use "---Section Name---" to create section separators in your sidebar.