Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

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.

  • Node.js 20 or newer, and npm.
  1. Install dependencies:

    Terminal window
    npm install
  2. Start the dev server:

    Terminal window
    npm run dev
  3. Open the printed URL, then edit a page under src/content/docs/ — the site reloads automatically.

  4. Produce a production build (this also checks internal links):

    Terminal window
    npm run build