Starlight

Starlight is the documentation framework built on Astro: sidebars, search with Pagefind, translated interface strings and accessible defaults, with almost no JavaScript per page. The guides below cover running it in production — overriding components instead of forking the theme, adding languages, and how its build times and page weight compare with Docusaurus and VitePress on the same 2,000-page corpus.

Two of them are migrations into Starlight, from MkDocs and from Docusaurus, with the conversion scripts, redirect maps and measured results.

Steps covered by the Starlight guides Four steps. Compare frameworks on build time and page weight. Migrate content from MkDocs or Docusaurus. Customize with component overrides rather than a fork. Add languages with locales and translated sidebars. Adopting Starlight Compare vs Docusaurus, VitePress Migrate from MkDocs or Docusaurus Customize overrides, not forks Translate locales and sidebars
Most teams arrive at the second step from one of the two migrations covered here.

Choosing the Right Static Site Generator for Production

Number of Starlight guides of each kind Vertical bars: How-tos 5, Fixes 0, Comparisons 4 and Concepts 1. Starlight guides by kind 5 How-tos 0 Fixes 4 Comparisons 1 Concepts
10 guides use Starlight in depth; each is listed below under the section it belongs to.
Topics with the most Starlight guides Horizontal bars, largest first: Docs Frameworks: Docusaurus, Starlight and VitePress 8, Migrating Between Static Site Generators 1 and SSG Framework Selection Matrix 1. Where Starlight comes up Docs Frameworks: Docusaurus, Starlight… 8 Migrating Between Static Site Generators 1 SSG Framework Selection Matrix 1
Topic pages give the wider context for each group; the numbers count only guides that use this tool in depth.

Often used with Starlight

  • Astro4 shared guidesIslands, content collections, astro:assets and deployment.
  • Docusaurus4 shared guidesVersioned docs, faster builds and migration out.
  • VitePress2 shared guidesVue-based docs, compared on build time and page weight.
  • Eleventy1 shared guidesIncremental builds, image pipelines and the data cascade.
  • Hugo1 shared guidesBuild time at scale, image caches, modules and multilingual sites.
  • Next.js1 shared guidesStatic export for content sites, its limits and alternatives.