Skip to content
DocsLit

Release notes 1 min read

DocsLit 0.1.9: accessibility widget and edit links

DocsLit 0.1.9 adds an accessibility settings widget, favicons and Edit this page links in static builds, and refined typography across platforms.

DocsLit 0.1.9 is a small release focused on readers: a settings panel for accessibility, and a few polish items in static builds.

Accessibility settings widget

A new accessibility button in the navbar opens a settings panel. Readers can adjust text size and turn on high contrast mode, grayscale mode, or underlined links. Settings are stored in localStorage, so they persist across page reloads.

The widget works in all three modes (dev, static and offline) and follows the offline security model by using event delegation. For how DocsLit handles contrast in your own colors, see the accessibility section of Theming.

Favicon and Edit this page

Static builds now include a favicon and an "Edit this page" link on every page. The edit URL is detected from your Git remote, so GitHub-hosted projects need no extra configuration. Deployment options are covered in Static hosting.

Typography and a small fix

  • Text rendering is improved across platforms, with font smoothing, OpenType features (ligatures, kerning, contextual alternates), and refined letter and word spacing for body text, headings and code blocks.
  • wc-tree-item now accepts a title attribute as an alias for label, which helps with imported content. The component is described on the file trees page.

Upgrade

Full details are in the changelog. Run npm install -g docslit@latest, or use npx docslit@latest.