Skip to content
DocsLit

Release notes 2 min read

DocsLit 0.2.0: themes, one-command import, agent tooling

DocsLit 0.2.0 adds six themes, one-command import from Mintlify, Fern, GitBook and MkDocs, an MCP server, agent setup files, docslit lint and more.

DocsLit 0.2.0 is our largest release so far. It makes switching from another docs tool a single command, adds themes, and gives AI agents proper tooling. This post covers the headline changes.

Switch to DocsLit in one command

docslit import was rewritten on a real MDX parser. It converts Mintlify and Fern components, code blocks, snippets, links and assets, and maps navigation, branding, redirects and analytics. It then validates the result and writes MIGRATION.md with a file, line and fix for everything that needs a human. GitBook projects are covered too. New flags include --from, --theme, --no-theme, --versions, --force and --json.

It also reads mkdocs.yml (including Material for MkDocs) and zensical.toml. Start with Migrate from Mintlify, Fern, GitBook or MkDocs. For the human side of a move, see our posts on moving from Mintlify and the GitBook and MkDocs checklist.

Themes

There are six prebuilt looks (default, peppermint, frond, tonal, folio and ledger) with thirteen palettes. Switch with "theme": "peppermint" or docslit theme use, and try combinations live with docslit dev --theme-picker. Existing configs render exactly as before. See Themes.

Tooling for AI agents

  • docslit mcp runs a Model Context Protocol server over stdio, with 14 authoring tools inside a project. Given a URL, it reads and searches any published DocsLit site. See MCP server.
  • docslit agents init writes AGENTS.md, Claude Code skills and config for Cursor, Copilot, Windsurf and Gemini. See Agent setup.
  • docslit components --json, docslit schema and docslit validate --format json give agents structured output. See Machine-readable CLI.

If you let agents write docs, our post on letting AI coding agents write your docs covers how to keep them honest.

Quality checks and more

docslit lint checks documentation quality with 16 configurable rules and supports --format pretty|json|github. See Lint. Validation also got stricter about component attributes and nesting.

Other additions include new components for parity with Mintlify and Fern, conditional content with wc-if, build-time icons, code block features, autogenerated sidebars, KaTeX math, synced tabs and a page feedback widget.

Two changes are breaking. docslit build no longer writes functions/ into your project (run docslit deploy --cloudflare to install it), and DocsLit Cloud authentication changed: in CI, publish with a DOCSLIT_TOKEN API token from the dashboard.

Full details are in the changelog. Upgrade with npm install -g docslit@latest, or run npx docslit@latest.