This file provides guidance to WARP (warp.dev) when working with code in this repository.
This is a GitHub Pages static website project (xi7ang/xi7ang.github.io) built with VitePress, showcasing content from all resource repositories in the xi7ang ecosystem. The repository includes:
- VitePress-based static site generator configuration
- Documentation pages linking to all ecosystem repositories
- GitHub Pages deployment automation
- Responsive design with modern UI/UX
docs/- VitePress documentation directorydocs/.vitepress/- VitePress configuration and build outputdocs/.vitepress/config.ts- Site configuration filedocs/.vitepress/dist/- Build output directory for GitHub Pagesdocs/public/- Static assets and resourcespackage.json- Node.js dependencies for VitePressCNAME- Custom domain configurationWARP.md- This configuration file
The site configuration includes:
- Multi-language support for internationalization
- Responsive navigation and sidebar
- SEO optimization with meta tags
- Social media integration
- Search functionality
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview# Build and deploy to GitHub Pages
npm run build
git add docs/.vitepress/dist
git commit -m "Update build artifacts"
git push origin main# Update repository content
git add docs/
git commit -m "Update documentation content"
git push origin main
# Sync with all ecosystem repositories
git submodule update --recursive --remote- Keep navigation simple and intuitive
- Organize content by repository category
- Include search-friendly page titles and descriptions
- Maintain consistent formatting across all pages
- Regularly update build artifacts after content changes
- Monitor GitHub Pages deployment status
- Ensure all external links remain functional
- Keep VitePress dependencies up to date
This website serves as the central hub for the entire xi7ang project ecosystem:
tools- Software tools and utilitiescross-border- E-commerce resourceshealthy- Health and fitness contentcurriculum- Educational materialsAIknowledge- AI and technology resourcesauto- Automation tools and scriptsbook- Literature and reading materialsmovies- Entertainment and media contentself-media- Social media resourcesedu-knowledge- Educational knowledge basechinese-traditional- Traditional culture content
- Automated build and deployment pipeline
- SEO optimization for search engines
- Mobile-responsive design
- Fast loading times with static generation
The website supports multiple languages through VitePress i18n:
- Primary: Chinese (Simplified and Traditional)
- Secondary: English for international users
- Additional language support can be configured as needed
- Static site generation for fast loading
- Automatic code splitting and lazy loading
- Image optimization and compression
- CSS and JavaScript minification
- Automatic sitemap generation
- Meta tags optimization
- Social media previews (Open Graph, Twitter Cards)
- Schema.org structured data
The site uses GitHub Pages with automated deployment:
- Content updates trigger VitePress build
- Build artifacts are committed to repository
- GitHub Pages automatically deploys from
docs/.vitepress/dist - Changes are live within minutes of pushing