Beautiful documentation sites from Markdown. Fast, simple, and open-source.
Lito Docs is an organization building powerful tools to help you create beautiful, SEO-optimized documentation sites from Markdown and MDX files. With support for multiple frameworks, AI-powered content generation, and zero-config setup, Lito makes documentation easy and enjoyable.
The main CLI tool for building and serving documentation sites.
Features:
- 🚀 Multi-framework support (Astro, Next.js, Nuxt, React, Vue)
- 📝 Markdown & MDX with frontmatter
- 🎨 Dynamic theming with OKLCH color generation
- 🌍 i18n support for 40+ languages
- 📚 Built-in versioning system
- ⚡ Hot reload and fast builds
- 🎯 SEO optimized
Quick Start:
npm install -g @litodocs/cli
lito init
lito dev -i ./my-docsAI-powered documentation generator that analyzes codebases and generates comprehensive documentation.
Features:
- 🤖 Multi-provider LLM support (OpenAI, Claude, Gemini, Ollama)
- 🔧 Agentic architecture with specialized agents
- 🎯 SEO optimization with structured data
- 📊 Sitemap and meta tag generation
- 🔄 Lito-compatible output format
Quick Start:
npm install -g @lito/generate
lito-generate generate -i ./my-project -p openaiDefault template - Blazing-fast static documentation site built with Astro.
- ⚡ Fastest build times
- 🎯 Optimal for static content
- 💼 Production-ready components
- 📦 Zero JavaScript by default
Usage:
lito dev -i ./docs --template astroNext.js template with React ecosystem support and SSR capabilities.
- ⚛️ Full React support
- 🔄 Server-side rendering
- 🎨 Modern UI components
- 📱 Responsive design
Usage:
lito dev -i ./docs --template nextNuxt template for Vue developers with SSR/SSG support.
- 🖖 Vue 3 ecosystem
- 🔄 Universal rendering
- 🎨 Nuxt Content integration
- 📦 Auto-imports
Usage:
lito dev -i ./docs --template nuxtComprehensive demo showcasing all Lito features and capabilities.
Includes:
- 📚 Multi-language documentation (English, Spanish)
- 🎯 API reference examples
- 📖 Tutorial and guide structures
- 🎨 Custom landing page
- 🖼️ Image and asset management
- 🔧 Advanced configuration examples
npm install -g @litodocs/clilito initWrite your documentation manually in Markdown/MDX files:
# Start development server
lito dev -i ./my-docs
# Build for production
lito build -i ./my-docs -o ./distLet AI analyze your codebase and generate documentation:
npm install -g @lito/generate
lito-generate generate -i ./my-project -p openaiChoose the framework that fits your workflow:
- Astro - Fast static sites (default)
- Next.js - React with SSR/SSG
- Nuxt - Vue with SSR/SSG
- React - Vite-powered React app
- Vue - Vite-powered Vue app
# Use official templates
lito dev -i ./docs --template astro
lito dev -i ./docs --template next
lito dev -i ./docs --template nuxt
# Use custom GitHub templates
lito dev -i ./docs --template github:owner/repo
# Use local templates
lito dev -i ./docs --template ./path/to/template# Analyze and generate documentation
lito-generate generate -i ./my-project -p anthropic
# Multiple LLM providers supported
lito-generate generate -i ./my-project -p openai -m gpt-4o
lito-generate generate -i ./my-project -p google -m gemini-2.0-flash
lito-generate generate -i ./my-project -p ollama -m llama3.2- 🎨 Dynamic Theming - Generate color palettes from primary colors
- 🌍 Internationalization - Support for 40+ languages
- 📚 Versioning - Document multiple versions with switcher
- 🔍 Search - Built-in search functionality
- 📱 Responsive - Mobile-first design
- ♿ Accessible - WCAG compliant
- 🎯 SEO - Optimized meta tags and structure
Lito uses a simple folder-based structure:
my-docs/
├── docs-config.json # Configuration file
├── introduction/
│ ├── getting-started.mdx
│ └── installation.mdx
├── guides/
│ ├── basic-usage.mdx
│ └── advanced-features.mdx
├── api/
│ └── reference.mdx
├── _landing/ # Custom landing page (optional)
│ ├── index.html
│ ├── styles.css
│ └── script.js
└── _assets/ # Static assets
└── logo.svg
lito init # Initialize new project
lito dev # Start dev server
lito build # Build for production
lito preview # Preview production build
lito validate # Validate configuration
lito doctor # Diagnose issues
lito info # Show project info
lito eject # Export full source
lito template # Manage templates
lito upgrade # Update CLIlito-generate generate # Generate documentation
lito-generate analyze # Analyze codebase only
lito-generate init # Initialize docs projectWe welcome contributions to all Lito projects! Please see individual repositories for contribution guidelines.
# Clone the repository
git clone https://github.com/Lito-docs/<repo-name>
# Install dependencies
pnpm install
# Run in development mode
pnpm devAll Lito projects are open-source and licensed under the MIT License.
- Website: litodocs.dev
- Documentation: docs.litodocs.dev
- GitHub Organization: github.com/Lito-docs
- NPM: @litodocs/cli
- 🐛 Bug Reports: Open an issue
- 💡 Feature Requests: Submit a request
- 📧 Email: support@litodocs.dev
- 💬 Discord: Join our community
Built with love by the Lito Docs team and powered by:
Make documentation beautiful again ✨