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-docs
AI-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 openai
Default 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 astro
Next.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 next
Nuxt template for Vue developers with SSR/SSG support.
- π Vue 3 ecosystem
- π Universal rendering
- π¨ Nuxt Content integration
- π¦ Auto-imports
Usage:
lito dev -i ./docs --template nuxt
Comprehensive 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/cli
lito init
Write your documentation manually in Markdown/MDX files:
# Start development server lito dev -i ./my-docs # Build for production lito build -i ./my-docs -o ./dist
Let AI analyze your codebase and generate documentation:
npm install -g @lito/generate lito-generate generate -i ./my-project -p openai
Choose 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 CLI
lito-generate generate # Generate documentation lito-generate analyze # Analyze codebase only lito-generate init # Initialize docs project
We 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 dev
All 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: [email protected]
- π¬ Discord: Join our community
Built with love by the Lito Docs team and powered by:
Make documentation beautiful again β¨