DocsLit 0.1.0: the initial release
DocsLit 0.1.0 is the first release: write Markdown, drop in web components, and build a fast static docs site you can host anywhere. Here is what shipped.
Docs tooling often asks you to adopt a framework before you can write a single page. DocsLit 0.1.0, the first release, takes the opposite route: write Markdown, add web components where you need them, and get a docs site you can host yourself.
What ships in 0.1.0
- Dev server with live reload. Run
docslit devand edit pages while the browser updates. See the quickstart. - Static site builder.
docslit buildoutputs plain HTML, so you can host it anywhere. Hosting options are covered in static hosting. - Built-in components. Callouts, tabs, cards, steps, code blocks and more, all available as web components. Start with callouts and alerts.
- Validator.
docslit validatechecks for broken links, missing pages and frontmatter errors. Details are in validation.
Moving an existing project
If you already have docs elsewhere, a migration tool imports existing Mintlify, Fern or GitBook projects with docslit import. The Mintlify guide walks through it, and our post on moving from Mintlify to open-source docs covers the decisions around it.
Publishing
This release also includes cloud publishing with a single command, docslit publish. Self-hosting stays the default path, and DocsLit Cloud is there if you would rather not run hosting yourself.
Get it
Install with npm install -g docslit@latest, or try it without installing using npx docslit@latest init. Full details are in the changelog.