Get started with the docs starter
This tutorial walks you through running the documentation starter locally. By the end you’ll have the site building and previewing on your machine.
Prerequisites
Section titled “Prerequisites”- Node.js 20 or newer, and npm.
-
Install dependencies:
Terminal window npm install -
Start the dev server:
Terminal window npm run dev -
Open the printed URL, then edit a page under
src/content/docs/— the site reloads automatically. -
Produce a production build (this also checks internal links):
Terminal window npm run build