Documentation
This directory contains the VitePress documentation for @mcabreradev/filter.
Development
Start the development server:
bash
pnpm run docs:devThe documentation will be available at http://localhost:5173/
Build
Build the documentation for production:
bash
pnpm run docs:buildThe built files will be in docs/.vitepress/dist/
Preview
Preview the production build:
bash
pnpm run docs:previewGenerate API Documentation
Generate API documentation from TypeScript source:
bash
pnpm run docs:apiStructure
.vitepress/- VitePress configuration and themeguide/- Getting started and core feature guidesframeworks/- Framework integration guides (React, Vue, Svelte)examples/- Code examples and use casesapi/- API reference documentationpublic/- Static assets (images, logos, etc.)
Deployment
The documentation is configured for deployment to Vercel or Netlify:
- Vercel: Uses
vercel.jsonconfiguration
Both platforms will automatically:
- Install dependencies with
pnpm install - Build the docs with
pnpm run docs:build - Deploy the
docs/.vitepress/dist/directory
Features
- Interactive code playground
- Full-text search
- Dark mode support
- Mobile-responsive design
- Framework-specific examples
- API documentation
- Performance benchmarks