A comprehensive, bilingual documentation site for Farrow - A progressive TypeScript web framework.
- 📚 Bilingual Support: Full documentation in both Chinese and English
- 🎨 Modern Design: Clean, responsive layout built with VitePress
- 🔍 Full-text Search: Fast local search functionality
- 📱 Mobile Friendly: Optimized for all device sizes
- 🌙 Dark Mode: Automatic theme switching support
- ⚡ Fast Performance: Static site generation for optimal loading speed
- Node.js >= 18.0.0
- pnpm >= 8.0.0
# Clone the repository
git clone https://github.com/AisonSu/farrow-doc.git
cd farrow-doc
# Install dependencies
pnpm install
# Start development server
pnpm devVisit http://localhost:5173 to see the documentation site.
# Development server
pnpm dev
# Build for production
pnpm build
# Preview production build
pnpm preview
# Interactive commit (Commitizen)
pnpm commitfarrow-vitepress/
├── .vitepress/ # VitePress configuration
│ └── config.mts # Site configuration
├── guide/ # Guide documentation (Chinese)
│ ├── essentials.md
│ ├── advanced.md
│ └── philosophy-and-practices.md
├── api/ # API reference (Chinese)
│ ├── farrow-http.md
│ ├── farrow-schema.md
│ └── farrow-pipeline.md
├── ecosystem/ # Ecosystem packages (Chinese)
├── en/ # English documentation
│ ├── guide/ # English guide
│ ├── api/ # English API reference
│ └── ecosystem/ # English ecosystem docs
├── public/ # Static assets
└── package.json # Project configuration
-
Build the site:
pnpm build
-
Deploy the
.vitepress/distdirectory to your hosting provider.
The repository includes a GitHub Actions workflow for automatic deployment to GitHub Pages. Simply push to the main branch to trigger a deployment.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes using Commitizen (
pnpm commit) - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This documentation site is licensed under the MIT License - see the LICENSE file for details.
- Farrow - The framework being documented
- VitePress - The documentation site generator
- All contributors who have helped improve this documentation
- Author: Aison
- Email: aisonsu@outlook.com
- GitHub: @AisonSu
