Local Preview
There are two reasonable ways to work with the docs site.
From the repo root
Section titled “From the repo root”Use this if you want one entry point for the whole repository:
npm run docs:installnpm run docs:devFrom the docs project directly
Section titled “From the docs project directly”Use this if you are focused only on documentation work:
cd docs-sitenpm installnpm run devProduction preview
Section titled “Production preview”Before testing deployment, build the site and preview the generated output:
npm run docs:buildnpm run docs:previewThis uses the same static output that a host will serve.