feat: add Chinese localization and new assets for CCW documentation

- Created LICENSE.txt for JavaScript assets including NProgress and React libraries.
- Added runtime JavaScript file for main functionality.
- Introduced new favicon and logo SVG assets for branding.
- Added comprehensive FAQ section in Chinese, covering CCW features, installation, workflows, AI model support, and troubleshooting.
This commit is contained in:
catlog22
2026-02-06 21:56:02 +08:00
parent 9b1655be9b
commit 6a5c17e42e
126 changed files with 3363 additions and 734 deletions

View File

@@ -8,14 +8,17 @@ This is the documentation site for CCW (Claude Code Workflow), built with [Docus
# Install dependencies
npm install
# Start development server (port 3001)
# Start development server (port 3001, default locale: en)
npm start
# Start dev server for Chinese (single-locale)
npm run start:zh
# Build for production
npm run build
# Serve production build locally
npm serve
npm run serve -- --build --port 3001 --no-open
```
## 📁 Project Structure
@@ -121,6 +124,25 @@ This operation cannot be undone
- ✅ English (EN) - Complete
- 🔄 Chinese (ZH) - Interface translated, content pending
### Previewing Locales
Notes:
- `docusaurus start` serves **one locale per run**.
- To preview **both locales together**, build then serve the static output.
Examples:
```bash
# English (default locale)
npm start
# Chinese
npm run start:zh
# Both locales
npm run build
npm run serve -- --build --port 3001 --no-open
```
## 🔧 Configuration
### Docusaurus Config (`docusaurus.config.ts`)