docs: migrate documentation from VitePress to Starlight (#361)

- Replace VitePress with Astro Starlight for documentation
- Reorganize document structure with better hierarchy
- Split large documents into sub-modules for better readability
- Add new sections: component, entity-query, serialization, system
- Support both Chinese (default) and English documentation
- Add responsive design and improved navigation
This commit is contained in:
YHH
2025-12-27 12:54:53 +08:00
committed by GitHub
parent fac4bc19c5
commit 89cdfe396b
151 changed files with 14280 additions and 11489 deletions

21
docs/package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "docs-new",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.37.1",
"@astrojs/vue": "^5.1.3",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.6.1",
"sharp": "^0.34.2",
"tailwindcss": "^4.1.18",
"vue": "^3.5.26"
}
}