Back to articles
Starlight Has a Free Documentation Framework — Here's How to Use It

Starlight Has a Free Documentation Framework — Here's How to Use It

via Dev.to WebdevAlex Spinov

Docusaurus is heavy. GitBook costs money. VitePress is Vue-only. Starlight by Astro is fast, beautiful, and works with React, Vue, Svelte — or none of them. What Is Starlight? Starlight is a full-featured documentation framework built on Astro. It gives you a complete docs site out of the box — sidebar, search, i18n, dark mode — just add Markdown. Quick Start npm create astro@latest -- --template starlight --- # src/content/docs/getting-started.md title : Getting Started description : How to get started with our product. --- ## Installation Install the package: \`\`\` bash npm install my-package \`\`\` ## Usage Import and use it: \`\`\` typescript import { myFunction } from 'my-package'; myFunction(); \`\`\` That's it — a fully-featured docs site from Markdown files. Built-In Features (Zero Config) Full-text search (Pagefind) Dark/light mode toggle Sidebar navigation (auto-generated from files) Mobile responsive SEO optimized Breadcrumbs Edit on GitHub link Table of contents i18n (20+

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles