Starlight Astro documentation framework with navigation, local search and multilingual routing.
Overview Starlight is a documentation framework built on Astro. It supplies a documentation-oriented interface around authored pages, including navigation, search and multilingual features. It is part of a source-and-build workflow rather than a hosted editorial service, so teams choose their own project maintenance and deployment arrangements.[2] [3]
Contents Authoring and customization Authors can write Markdown and use MDX when pages need imported components. Starlight's documentation components support structured elements such as cards, tabs and steps. These conventions make reusable presentation possible, but a page using framework-specific components requires more migration work than a file containing only ordinary Markdown prose.[4]
The framework exposes configuration and customization points rather than fixing every site to one appearance. Component-level changes can adapt the documentation interface, while the MIT license permits modification under its terms. Maintaining those customizations alongside the installed Astro and Starlight versions remains part of owning the project.[1] [5]
Search and languages Starlight includes Pagefind-powered full-text search by default, generated with the built site. Pages or selected content can be excluded from the index. This controls discoverability, not access to the underlying page. Algolia DocSearch is an optional alternative integration rather than a requirement for the default search experience.[3]
Locale configuration controls language routes and interface labels, with support for right-to-left layouts. When a translated page is missing, Starlight can show the default-language content with a notice. This fallback keeps navigation usable while translation progresses; it is not automatic translation or proof that all localized pages have been reviewed.[6]
Substitution scope Starlight can substitute for Docusaurus for a documentation website where Astro's component model and built-in local search suit the project. The assessment concerns authored documentation and its reader interface. Docusaurus-specific React components, plugins and versioned-document layouts need separate conversion, and a familiar Markdown or MDX extension does not by itself establish identical rendering behavior.[2] [3] [4] [7] [8]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.