# Starlight

Astro documentation framework with navigation, local search and multilingual routing\.

ID: Q794 · Revision: 842

Type: software · License: MIT[^starlight-license] · Status: active

Website: https://starlight.astro.build/



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\.[^starlight-home][^starlight-search]

## 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\.[^starlight-writing]

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\.[^starlight-custom][^starlight-license]

## 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\.[^starlight-search]

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\.[^starlight-i18n]

## Substitution scope

Starlight can substitute for [Docusaurus](/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\.[^starlight-home][^starlight-writing][^starlight-search][^docusaurus-home][^docusaurus-version]

## Capabilities and substitutions

### Local documentation search — supported

Default Pagefind index is generated with the site; external search is optional\.[^starlight-search]

Use case: Searching static documentation · Platforms: Web, Local or hosted build environment · Region: Hosting and optional external\-service availability apply

### Multilingual fallback — supported

Missing translations can display default\-language content with a notice; translation itself remains authored work\.[^starlight-i18n]

Use case: Multilingual documentation sites · Platforms: Web, Local or hosted build environment · Region: Hosting and optional external\-service availability apply

### [Substitute for Docusaurus](/docusaurus) — limited

Can replace the reader\-facing documentation workflow after converting components, plugins and version organization\.[^starlight-home][^starlight-search][^starlight-i18n][^docusaurus-home]

Use case: Documentation websites with local search and multilingual content · Platforms: Web, Local or hosted build environment · Region: Hosting and optional external\-service availability apply

## References

[^starlight-license]: [Starlight license](<https://github.com/withastro/starlight/blob/main/LICENSE>) — MIT license (vendor; retrieved 2026-10-07T00:35:20Z)

[^starlight-home]: [Starlight overview](<https://starlight.astro.build/>) — Astro documentation framework (vendor; retrieved 2026-10-07T00:35:20Z)

[^starlight-search]: [Starlight search](<https://starlight.astro.build/guides/site-search/>) — Default Pagefind and optional external search (vendor; retrieved 2026-10-07T00:35:20Z)

[^starlight-writing]: [Starlight authoring](<https://starlight.astro.build/guides/authoring-content/>) — Markdown, MDX and component conventions (vendor; retrieved 2026-10-07T00:35:20Z)

[^starlight-custom]: [Starlight customization](<https://starlight.astro.build/guides/customization/>) — Configuration and component customization (vendor; retrieved 2026-10-07T00:36:21Z)

[^starlight-i18n]: [Starlight internationalization](<https://starlight.astro.build/guides/i18n/>) — Locale routing, translation fallback and RTL (vendor; retrieved 2026-10-07T00:35:57Z)

[^docusaurus-home]: [Docusaurus introduction](<https://docusaurus.io/docs>) — React, MDX, prerendered pages and comparison scope (vendor; retrieved 2026-10-07T00:24:20Z)

[^docusaurus-version]: [Docusaurus versioning](<https://docusaurus.io/docs/versioning>) — Version snapshots, current versus latest and maintenance tradeoffs (vendor; retrieved 2026-10-07T00:25:08Z)

Source revision: https://substitutefor.net/entities/Q794?revision=842
