Getting Started
Starlight is a full-featured documentation theme built on top of the Astro framework. This guide will help you get started with a new project.
Quick Start
Section titled “Quick Start”Create a new project
Section titled “Create a new project”Create a new Astro + Starlight project by running the following command in your terminal:
npm create astro@latest -- --template starlightpnpm create astro --template starlightyarn create astro --template starlightStart the development server
Section titled “Start the development server”Inside your project directory, run the following command to start the development server:
npm run devpnpm devyarn devAdd content
Section titled “Add content”Add new pages to your site by creating Markdown files in the src/content/docs/ directory.
Next steps
Section titled “Next steps”- Configure your site in
astro.config.mjs. - Extend your content schema in
src/content.config.ts. - Add documentation pages under
guides/andreference/. - Add blog posts under
blog/.