All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Nuxt Framework Support: Full Nuxt template support in the CLI
- Framework detection via
nuxt.config.ts/nuxt.config.jsornuxtdependency - Dev server with
--portflag, build with.output/publicoutput directory - Pagefind search indexing for Nuxt static builds
- Framework detection via
- Scaffold Directory: Moved dev-project directory from
/tmp/.litoto~/.lito/dev-projectto fix bundler resolution issues (e.g. Turbopack failing to resolvenode_modulesfrom/tmp)
First stable release. Lito is production-ready for generating documentation sites from Markdown.
- GitHub Packages Publishing: Dual publishing to npm (
@litodocs/cli) and GitHub Packages (@lito-docs/cli) - Privacy & Terms Pages: Added default privacy policy and terms of service pages to sample docs
- MIT License for Template: Added LICENSE file to the Astro template
- Stable Release: Promoted from beta (v0.x) to v1.0.0
- Decluttered Navbar: Moved version switcher and language switcher from the header to the sidebar top; moved Twitter/Discord social links to the sidebar bottom. Header now contains only: search, GitHub, theme toggle, and CTA
- Mobile Navigation: Version and language switchers accessible in mobile drawer
- Dynamic Version Reading: CLI version and update checker now read from
package.jsonat runtime — no more hardcoded version strings getting out of sync - Multi-Instance Components: Version switcher and language switcher refactored to support multiple instances (sidebar + mobile nav) using data attributes instead of IDs
- Version Mismatch: CLI reported
0.5.2in update checker and0.6.0in commander whilepackage.jsonwas at0.7.0— all now read from single source of truth - Package Size: Added
filesfield topackage.json— npm package reduced from 31 MB (743 files) to 39 KB (31 files) - Dead Entry Point: Removed invalid
mainfield pointing to non-existentsrc/index.js - Sidebar Scroll: Fixed scroll position save/restore after sidebar layout changed to flex column
-
Multi-Framework Support: Generate documentation sites with your preferred framework
- Astro (default), React, Next.js, Vue, and Nuxt templates
- Framework auto-detection from manifest or config files
- Framework-specific dev and build commands
- Use
--template react,--template next,--template vue, or--template nuxt
-
Custom Landing Pages: Full control over your documentation landing page
- Full Custom: Create
_landing/folder with HTML/CSS/JS files - Section-Based: Mix custom HTML sections with default components
- Landing types:
none,default,config,custom,sections - 10 section types: hero, features, cta, testimonials, pricing, faq, stats, logos, comparison, footer
- Multi-framework landing generation (generates
.astro,.jsx,.vuebased on template)
- Full Custom: Create
-
lito initCommand: Interactive project initialization- Beautiful CLI prompts with @clack/prompts
- Template selection with framework support
- Creates
docs-config.jsonwith sensible defaults - Optional sample documentation pages (introduction.mdx, quickstart.mdx)
- Auto-creates folder structure (
_assets,_images)
-
lito validateCommand: Configuration validation- Validates
docs-config.jsonagainst core schema --quietflag for CI pipelines (exit code only)- Shows configuration summary (metadata, navigation counts, features)
- Portability check for cross-template compatibility
- Validates
-
lito doctorCommand: Diagnose common issues- Checks directory and config file existence
- Validates JSON syntax and schema compliance
- Verifies content files exist (.md/.mdx)
- Detects common mistakes (node_modules, package.json in docs folder)
- Template cache status
- Node.js version check (18+ required, 20+ recommended)
-
lito infoCommand: Project information and statistics- Content stats: MD/MDX file counts, subdirectories
- Navigation structure: sidebar groups/items, navbar links
- Feature status: search, i18n, versioning, dark mode
- Branding configuration overview
- Config compatibility analysis
- Environment info: Node.js version, platform, cached templates
-
lito previewCommand: Preview production builds locally- Auto-builds if output directory doesn't exist
- Uses
servepackage or Python's http.server as fallback - Custom port support with
--portflag
-
Configuration Validation System: Portable config support
- Core schema validation for cross-template compatibility
- Core keys (portable):
metadata,branding,navigation,search,seo,i18n,assets - Extension keys (template-specific):
footer,theme,landing,integrations,versioning - Forward-compatible extension handling
-
Template Registry: Shorthand names for official templates
astro→github:Lito-docs/lito-astro-templatereact→github:Lito-docs/lito-react-templatenext→github:Lito-docs/lito-next-templatevue→github:Lito-docs/lito-vue-templatenuxt→github:Lito-docs/lito-nuxt-template
- Framework-Aware Build Pipeline: Build and dev commands now detect and use framework-specific tooling
- Enhanced Sync System: Content syncing respects framework-specific directory structures
- HMR Support: Hot module replacement trigger for Vite-based frameworks (React, Vue)
- Conditional Search Indexing: Pagefind indexing only for static-output frameworks
- CLI UX: Beautiful interactive prompts, spinners, and color-coded output
- Build Performance: Parallel operations for faster builds (dependency install, docs sync, config sync)
- Error Messages: More helpful error messages with actionable guidance
- Framework Runner: Core abstraction for multi-framework support
- Landing Sync Module: Foundation for custom landing page system
- Template Structure: Updated default template paths for new framework templates
- Update Checker: Automatic version check on CLI startup with update notification
- Upgrade Command: New
lito upgradecommand to check and install latest version - Auto-detect Package Manager: Upgrade uses pnpm, yarn, or npm based on availability
- Package Rename: Renamed package from
@lito/clito@litodocs/cli - README Overhaul: Improved documentation with tables, quick start guide, and better formatting
- Migration Note: Added note about previous package name
@devrohit06/superdocs
- Local Development: Added
npm linkinstructions for local development
- Documentation Versioning: Support for versioned documentation
- Hosting Provider Support: New
--provideroption for optimized builds (Vercel, Netlify, Cloudflare, static) - Rendering Modes: New
--renderingoption supporting static, server, and hybrid modes - Dynamic Theme Generation: Generate OKLCH color palettes from primary color
- i18n Support: Automatic detection and syncing of locale folders with 40+ language codes
- Asset Syncing: Automatic syncing of
_assets,_images,_css, andpublicfolders
- Organization Migration: Moved to official Lito-docs organization on GitHub
- Default Template: Updated default template source to
github:Lito-docs/template - Branding: Updated project description
- Smart Layout Injection: Automatic layout detection based on frontmatter
- CLI Config Options:
--name,--description,--primary-color,--accent-color,--favicon,--logo - Enhanced Config Management: CLI options automatically update
docs-config.json
- Unused Dependency: Removed
zodpackage
- GitHub-Hosted Templates: Fetch templates from
github:owner/repo - Template Caching: 24-hour cache in
~/.lito/templates/ - Template Management:
lito template listandlito template cache --clear - Force Refresh:
--refreshflag to bypass cache
- Renamed
--themeto--template - Default template now fetched from GitHub
- Template: Fixed internal links to respect
baseUrlconfiguration
- Config: Fixed
baseUrlnot being applied to Astro configuration
- Eject: Resolved build errors in ejected projects
- MDX Components: Refined
TabsandCodeGroupcomponents - Template: Modernized with Astro 5 and Tailwind CSS v4
- CLI Tool: Complete command-line interface for documentation generation
- Build Command: Generate static documentation sites with
lito build - Dev Command: Development server with hot reload using
lito dev - Eject Command: Export full Astro project with
lito eject - Astro Integration: Lightning-fast static site generation
- Markdown & MDX Support: Full support with frontmatter
- SEO Optimization: Meta tags, semantic HTML
- Responsive Design: Mobile-friendly documentation interface
- Rich Component Library: API Playground, Breadcrumbs, Search, Sidebar, TOC, Theme Toggle, Accordion, Alert, Badge, Cards, Code groups, and more
- Hot Reload: File watching in development
- Theme Support: Custom themes and base URLs