LazyDocs is a lightweight documentation platform that makes it easy to create beautiful documentation websites. Simply clone the repository, write your docs in Markdown, and deploy!
You can see the demo here
- Markdown-Based: Write documentation using simple Markdown syntax
- Folder Organization: Organize content naturally with folders and subfolders
- Fully Customizable: Easy theming with colors, fonts, logos, and branding
- Auto Navigation: Sidebar automatically generated from your structure
- Responsive Design: Looks great on desktop, tablet, and mobile
- Fast & Lightweight: Built with React and Vite for optimal performance
- Syntax Highlighting: Beautiful code blocks with syntax highlighting
- No Backend Required: Pure static site that can be hosted anywhere
Click the button above to clone and deploy in one step. Your site will be live in 2 minutes!
- Node.js 16 or higher
- npm or yarn
- Clone this repository
git clone https://github.com/DiegoLSdev/LazyDocs.git
cd lazydocs- Install dependencies
npm install- Start development server
npm run devYour documentation site will open at http://localhost:3000!
- Add your logo to the
public/folder - Edit
config.json:
{
"siteName": "Your Project Name",
"logo": "/your-logo.svg"
}Edit the theme section in config.json:
{
"theme": {
"primaryColor": "#3b82f6",
"secondaryColor": "#10b981",
"fontFamily": "'Inter', sans-serif"
}
}Available theme options:
primaryColor- Main accent color (links, active states)secondaryColor- Secondary accent colorbackgroundColor- Main background colortextColor- Primary text colorsidebarBgColor- Sidebar backgroundheaderBgColor- Header backgroundcodeBlockBgColor- Code block backgroundfontFamily- Body fontheadingFontFamily- Heading font
Edit the navbar section in config.json:
{
"navbar": {
"links": [
{ "label": "Docs", "to": "/docs/getting-started/introduction" },
{ "label": "GitHub", "href": "https://github.com/yourrepo" }
]
}
}- Create a Markdown file in the
docs/folder:
---
title: My New Page
description: This is a description of my page
---
# My New Page
Content goes here...- Add to sidebar by editing
docs/sidebar.json:
{
"type": "file",
"title": "My New Page",
"path": "/docs/my-new-page"
}Create nested folders for better organization:
docs/
├── getting-started/
│ ├── introduction.md
│ └── installation.md
├── guides/
│ ├── basics.md
│ └── advanced.md
└── api/
└── reference.md
Update docs/sidebar.json to reflect your structure:
[
{
"type": "folder",
"title": "Getting Started",
"path": "/docs/getting-started",
"children": [
{
"type": "file",
"title": "Introduction",
"path": "/docs/getting-started/introduction"
}
]
}
]lazydocs/
├── docs/ # Your documentation (Markdown files)
│ ├── getting-started/
│ ├── customization/
│ ├── writing/
│ └── sidebar.json # Navigation structure
├── public/ # Static assets
│ ├── logo.svg # Your logo
│ └── images/ # Images for docs
├── src/ # Application source
│ ├── components/ # React components
│ │ ├── Header.jsx
│ │ ├── Sidebar.jsx
│ │ ├── DocContent.jsx
│ │ └── Footer.jsx
│ ├── utils/ # Utilities
│ │ ├── config.js
│ │ ├── markdown.js
│ │ └── sidebar.js
│ ├── App.jsx
│ └── main.jsx
├── config.json # Site configuration
├── package.json
└── vite.config.js
Build your site for production:
npm run buildThe built files will be in the dist/ directory.
Preview the production build:
npm run previewThe fastest way to get your documentation online:
Click the button above and your site will be ready in 2 minutes!
- ✅ Automatic deployment with every
git push - ✅ Free HTTPS included
- ✅ Global CDN for maximum speed
- ✅ Preview deployments for each Pull Request
📖 Complete Vercel deployment guide
LazyDocs generates a static site that can be deployed on any service:
npm run build
# Deploy the dist/ folder to GitHub Pages- Connect your repository
- Set build command:
npm run build - Set publish directory:
dist
Upload the contents of the dist/ folder to your hosting provider.
For complete documentation on customization and usage, visit the built-in docs at:
The repository includes complete documentation as examples:
- Getting Started - Introduction, installation, quick start
- Customization - Configuration, themes, branding
- Writing - Markdown guide, frontmatter, organizing content
Simply replace the content in docs/ with your own!
- React 18 - UI framework
- Vite - Build tool and dev server
- React Router - Client-side routing
- React Markdown - Markdown rendering
- Gray Matter - Frontmatter parsing
- Highlight.js - Syntax highlighting
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Improve documentation
- ⭐ Star the repository on GitHub
- 🐦 Share LazyDocs on social media
- 📝 Write a blog post about your experience
- 🤝 Contribute code or documentation
- 💬 Help others in issues and discussions
MIT License - feel free to use this for your own projects!
- Read the complete documentation
- Open an issue for bugs or questions
Built with LazyDocs - Simple documentation made easy

