Deploy Documentation Site
OpenPocket docs are built as a static website with VitePress.
This project deploys documentation with Vercel.
This repository also includes:
vercel.json
Steps
- Import the repository in Vercel.
- Keep default root directory as repository root.
- Build command:
npm run docs:build - Output directory:
frontend/.vitepress/dist - Deploy.
Vercel deployment uses docs base /, so no extra base setting is required.
Preview
Run docs locally before deploying:
bash
npm run docs:devBuild for production:
bash
npm run docs:buildPreview production build:
bash
npm run docs:preview