
Starlight Has a Free API — Build Beautiful Documentation Sites with Astro
TL;DR Starlight is an Astro-powered documentation framework that creates fast, accessible docs sites from Markdown. Built-in search, i18n, syntax highlighting, and sidebar generation — zero config needed. What Is Starlight? Starlight by the Astro team: Astro-powered — fast static sites with island architecture Markdown/MDX — write docs in Markdown Built-in search — Pagefind search, zero config i18n — multi-language support built-in Auto sidebar — generated from file structure Dark/light mode — automatic theme switching Free — MIT license Quick Start npm create astro@latest -- --template starlight cd my-docs npm run dev Configuration // astro.config.mjs import { defineConfig } from " astro/config " ; import starlight from " @astrojs/starlight " ; export default defineConfig ({ integrations : [ starlight ({ title : " My API Docs " , social : { github : " https://github.com/myorg/myproject " , }, sidebar : [ { label : " Getting Started " , items : [ { label : " Introduction " , slug : " g
Continue reading on Dev.to Webdev
Opens in a new tab


