Skip to content
DocsLit

Release notes 2 min read

DocsLit 0.1.11: Apache-2.0 license and a broader toolkit

DocsLit 0.1.11 moves the CLI to Apache-2.0, drops the Node 24 requirement, and adds i18n, redirects, an API playground, basePath, site chrome and more.

DocsLit 0.1.11 changes the license and makes installs easier. It also adds a long list of features that most docs sites end up needing sooner or later.

License and install changes

  • The DocsLit CLI is now licensed under Apache-2.0 (it was AGPL-3.0). DocsLit Cloud remains a separate proprietary product.
  • Node.js 24 is no longer required. The engines field is now >=20.19.0, so installs work on common CI images running Node 20 or 22.
  • Client search loads a vendored FlexSearch bundle instead of fetching from esm.sh, which helps in air-gapped and CSP-restricted environments.

Site configuration

This release adds a lot of site-level settings in docslit.json:

  • Site chrome: navbar, footer, head, css, analytics (Plausible, PostHog, GA4, Fathom) and favicon.
  • basePath for deploying under a subpath, such as a GitHub Pages project site. Asset URLs, navigation and sitemaps respect the prefix.
  • Redirects, through a site-level redirects setting or a frontmatter redirect. They produce meta-refresh stubs plus _redirects and vercel.json entries.
  • Internationalization: locale trees like docs.fr/, a locale switcher, hreflang tags and per-locale sidebars.

Content and reader features

  • AsciiDoc tables through <wc-asciidoc-table>, parsed at build time into real HTML tables.
  • An API playground, <wc-playground>, lets readers try OpenAPI endpoints from the docs. See OpenAPI integration.
  • Changelog and blog layouts with build-time rss.xml and atom.xml feeds when url is set.
  • Images get lazy loading, lightbox zoom, dark-mode variants and build-time width and height.
  • Each page gets a social card at og/{page}.png. Opt out with ogImage: false.
  • Search returns section-level results with anchor links, and the sitemap uses git history for lastmod.
  • A split Copy page dropdown can copy the page as Markdown, open it in ChatGPT or Claude, or copy the npx MCP install command.

Commands and CI

docslit new scaffolds pages into the sidebar, and docslit deploy writes recipe files for GitHub Pages, Netlify or Cloudflare. See Commands and Static hosting.

For CI, docslit validate --external checks outbound links and --format github prints Actions annotations for inline PR feedback. See Validation.

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