docs: add VitePress documentation site

- Add docs directory with VitePress configuration
- Add GitHub Actions workflow for docs build and deploy
- Support bilingual (English/Chinese) documentation
- Include search, custom theme, and responsive design
This commit is contained in:
catlog22
2026-02-28 16:14:09 +08:00
parent ab65caec45
commit c3ddf7e322
136 changed files with 34486 additions and 0 deletions

5
docs/public/favicon.svg Normal file
View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
<rect width="32" height="32" rx="6" fill="#3b82f6"/>
<path d="M8 12h16M8 16h12M8 20h8" stroke="white" stroke-width="2" stroke-linecap="round"/>
<circle cx="22" cy="20" r="4" fill="#10b981"/>
</svg>

After

Width:  |  Height:  |  Size: 277 B

32
docs/public/logo.svg Normal file
View File

@@ -0,0 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
<defs>
<linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#3B82F6"/>
<stop offset="100%" style="stop-color:#8B5CF6"/>
</linearGradient>
<linearGradient id="iconGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#60A5FA"/>
<stop offset="100%" style="stop-color:#A78BFA"/>
</linearGradient>
</defs>
<!-- Background Circle -->
<circle cx="100" cy="100" r="95" fill="url(#bgGrad)" opacity="0.9"/>
<!-- C Letter -->
<path d="M130 50 C80 50 50 80 50 100 C50 120 80 150 130 150"
fill="none" stroke="white" stroke-width="12" stroke-linecap="round"/>
<!-- Connection Lines (representing workflow) -->
<line x1="100" y1="75" x2="140" y2="75" stroke="url(#iconGrad)" stroke-width="4" stroke-linecap="round" opacity="0.8"/>
<line x1="100" y1="100" x2="150" y2="100" stroke="url(#iconGrad)" stroke-width="4" stroke-linecap="round" opacity="0.8"/>
<line x1="100" y1="125" x2="140" y2="125" stroke="url(#iconGrad)" stroke-width="4" stroke-linecap="round" opacity="0.8"/>
<!-- Agent Dots -->
<circle cx="155" cy="75" r="6" fill="#10B981"/>
<circle cx="165" cy="100" r="6" fill="#F59E0B"/>
<circle cx="155" cy="125" r="6" fill="#EF4444"/>
<!-- Orbit Ring -->
<circle cx="100" cy="100" r="70" fill="none" stroke="white" stroke-width="1" opacity="0.3"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB