This is the documentation site for Spritz, built with Docusaurus.
- Node.js 20+ and npm
- Git
npm installnpm startThis command starts a local development server and opens up a browser window at http://localhost:3030. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
npm run serveThis command serves the built website locally for testing the production build.
docs/
├── intro.md # Welcome page
├── getting-started.md # Installation and setup
├── faq.md # Frequently asked questions
├── agents/ # AI Agents documentation
│ ├── intro.md
│ ├── rag-technical.md # RAG technical deep dive
│ ├── mcp-servers.md # MCP servers & API tools
│ └── x402.md # x402 monetization
├── streaming/ # Livestreaming documentation
│ ├── intro.md
│ └── technical.md # Technical deep dive
├── guides/ # User guides
│ ├── messaging.md # Messaging guide
│ ├── video-calls.md # Video calls guide
│ ├── groups.md # Groups guide
│ ├── channels.md # Channels guide
│ ├── friends.md # Friends guide
│ ├── calendar-scheduling.md # Calendar & scheduling
│ └── profile-settings.md # Profile & settings
├── api/ # API reference
│ ├── intro.md
│ ├── complete.md # Complete API reference
│ ├── agents-detailed.md # Detailed agents API
│ └── streaming.md # Streaming API
├── architecture/ # Architecture documentation
│ └── overview.md
└── database/ # Database documentation
└── schema.md
The site is automatically deployed to GitHub Pages on every push to the main branch via GitHub Actions.
To manually deploy:
npm run deployThis will build the website and push to the gh-pages branch.
You can deploy the build folder to any static hosting service:
- Vercel: Connect your GitHub repo and deploy automatically
- Netlify: Drag and drop the
buildfolder or connect via Git - Cloudflare Pages: Connect your GitHub repo
- AWS S3 + CloudFront: Upload the
buildfolder to S3
Key configuration files:
docusaurus.config.ts- Main Docusaurus configurationsidebars.ts- Sidebar navigation structurepackage.json- Dependencies and scripts
- Create a new
.mdor.mdxfile in thedocs/directory - The sidebar will automatically update based on the file structure
- Use frontmatter to control sidebar position:
---
sidebar_position: 1
---
# Your Document Title- Styling: Edit
src/css/custom.css - Homepage: Edit
src/pages/index.tsx - Components: Add custom React components in
src/components/ - Theme: Configure in
docusaurus.config.tsunderthemeConfig
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This documentation is part of the Spritz project and follows the same license: PolyForm Noncommercial License 1.0.0
Commercial use requires a separate license. Contact connect@spritz.chat for commercial licensing.