Getting Started
Requirements
Section titled “Requirements”- Node.js 20 or newer
- npm
Run locally
Section titled “Run locally”npm installnpm run devAstro prints the local URL, usually http://localhost:4321.
Rename the template
Section titled “Rename the template”Update these locations first:
src/consts/site.tsfor reusable product and repository valuesastro.config.mjsfor the Starlight title, social links, edit link, and sidebarsrc/components/landing/for the public landing pageREADME.mdandLICENSEfor repository information
Replace starter content
Section titled “Replace starter content”Remove or rewrite the pages inside src/content/docs/docs/. Keep the docs folder if you want documentation URLs to continue using /docs/.
Verify the result
Section titled “Verify the result”npm run buildThe build validates content frontmatter, page routes, and generated AI endpoints.