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

35
docs/typedoc.json Normal file
View File

@@ -0,0 +1,35 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["../ccw/src/**/*.ts"],
"out": "docs/api",
"plugin": ["typedoc-plugin-markdown"],
"theme": "markdown",
"readme": "none",
"exclude": ["**/*.test.ts", "**/*.spec.ts", "**/node_modules/**"],
"excludePrivate": true,
"excludeProtected": false,
"excludeInternal": true,
"hideGenerator": true,
"sort": ["source-order"],
"kindSortOrder": [
"Document",
"Reference",
"Class",
"Interface",
"TypeAlias",
"Enum",
"EnumMember",
"Function",
"Variable",
"Property",
"Method"
],
"categorizeByGroup": true,
"defaultCategory": "Other",
"categoryOrder": ["*"],
"githubLinks": true,
"gitRevision": "main",
"includeVersion": true,
"searchInComments": true,
"searchInDocuments": true
}