Installation
Running the documentation site locally.
Created: 1/11/2026
Installation
To run the Documentation Site locally:
Prerequisites
- Node.js (v20+)
- pnpm (v10.4.1+)
Steps
-
Install dependencies from root:
# From the project root pnpm install -
Run Development Server: From the root directory, run:
pnpm dev:webOr to run only the docs site:
pnpm dev --filter=docsThis command will automatically run the Contentlayer build process to generate the content cache.
-
View Site: Open
http://localhost:3001in your browser.
Troubleshooting
Content Errors
If you encounter content errors, try clearing the Contentlayer cache:
cd apps/docs
rm -rf .contentlayer
pnpm dev
Build Before Development
The documentation site requires a successful build before development. If you encounter errors on first run:
cd apps/docs
pnpm build
pnpm dev
This ensures Contentlayer has properly indexed all MDX files in the content/ directory.
