This directory contains the documentation site for the @vowel.to/client library, built with VitePress and TypeDoc.
NEW! The documentation now includes voice-powered navigation! You can use voice commands to navigate between pages, search documentation, and interact with code examples.
Quick Setup:
- Create
.env.localwith yourVITE_VOWEL_APP_ID - Run
bun run dev - Click the microphone button and say "Go to getting started"
📖 See VOICE_SETUP_QUICK_START.md for setup instructions
📚 See VOICE_INTEGRATION.md for full documentation
The client library source code (../client/) is proprietary and NOT open source. Only this documentation is publicly accessible. The documentation provides usage guides and API reference for developers using the library, but the source code itself remains closed-source.
docs/
├── .ai/ # Future features documentation
│ └── interactive-examples-approach.md
├── .vitepress/ # VitePress configuration
│ ├── config.ts
│ └── theme/ # Custom theme with voice integration
│ ├── index.ts
│ ├── VoiceLayout.vue
│ ├── VoiceAgent.vue
│ ├── voice-client.ts
│ └── custom.css
├── api/ # Auto-generated API reference (from TypeDoc)
│ ├── index.md
│ ├── index-1.md # Main module documentation
│ └── react.md # React module documentation
├── guide/ # User guides
│ ├── getting-started.md
│ ├── installation.md
│ ├── quick-start.md
│ ├── adapters.md
│ └── ...
├── recipes/ # Practical examples
│ ├── index.md
│ ├── event-notifications.md
│ └── ...
├── index.md # Home page
├── package.json
├── typedoc.json # TypeDoc configuration
└── tsconfig.typedoc.json # TypeScript config for TypeDoc
bun installbun run docs:devVisit http://localhost:5173
bun run docs:generate-apiThis runs TypeDoc to generate API reference from the ../client source code.
bun run docs:buildOutput will be in .vitepress/dist/
bun run docs:preview- Guides - Hand-written markdown files in
guide/ - Recipes - Hand-written examples in
recipes/ - API Reference - Auto-generated from TypeScript source in
../clientusing TypeDoc
TypeDoc is configured to:
- Parse
../client/index.tsand../client/react.tsentry points - Include all files in
../client/lib/ - Exclude examples, tests, and config files
- Generate markdown output in
api/directory - Use the
typedoc-plugin-markdownplugin for markdown generation
- Create a new
.mdfile inguide/ - Add it to the sidebar in
.vitepress/config.ts - Write your content using markdown
- Create a new
.mdfile inrecipes/ - Add it to the sidebar in
.vitepress/config.ts - Include problem, solution, and explanation sections
The API reference is automatically generated from TypeScript source code. To update:
- Add/update TSDoc comments in
../clientsource files - Run
bun run docs:generate-api - The API docs will be regenerated
See .ai/interactive-examples-approach.md for planned interactive examples feature that will allow users to input their App ID and see live demos.
This documentation site is configured for deployment to Cloudflare Pages at docs.vowel.to.
See cloudflare-pages.md for detailed deployment instructions.
Quick Deploy:
# Build and deploy to Cloudflare Pages
bun run deploy
# Deploy a preview
bun run deploy:previewConfiguration Files:
wrangler.toml- Cloudflare Pages configuration.node-version- Node.js version specificationpublic/_headers- HTTP headers for security and cachingpublic/_redirects- URL redirects for SPA routing
Alternative Deployment Options:
This site can also be deployed to:
- GitHub Pages - Automatic via GitHub Actions
- Vercel - Connect your repo and deploy
- Netlify - Connect your repo and deploy
- Any static host - Upload
.vitepress/dist/contents
When contributing to documentation:
- Follow the existing structure and style
- Use clear, concise language
- Include code examples
- Test your changes locally before committing
- Ensure TypeDoc generation still works
- 📧 Email: support@vowel.to
- 💬 Discord: Join our community
- 🐛 Issues: GitHub Issues