docs: migrate from VitePress to Fumadocs (Next.js)

- Replace VitePress with Fumadocs + Next.js for documentation site
- Configure i18n (English + 简体中文) with language switcher
- Migrate all 17 guide documents to MDX format with updated content
- Add ocean theme, GitHub/Discord/QQ social links
- Update GitHub Actions workflow for Next.js static export
- Update .gitignore for .next, out, .source directories
This commit is contained in:
t8y2
2026-05-06 10:17:17 +08:00
parent 97eeab2801
commit 6a5a380fdd
65 changed files with 4647 additions and 3452 deletions
+19 -6
View File
@@ -1,13 +1,26 @@
{
"name": "dbx-docs",
"private": true,
"type": "module",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
"dev": "next dev",
"build": "next build",
"start": "next start",
"postinstall": "fumadocs-mdx"
},
"devDependencies": {
"vitepress": "^1.6.4"
"dependencies": {
"@tailwindcss/postcss": "^4.2.4",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"fumadocs-core": "^16.8.7",
"fumadocs-mdx": "^14.3.2",
"fumadocs-ui": "^16.8.7",
"lucide-react": "^0.515.0",
"next": "^16.2.4",
"postcss": "^8.5.14",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwindcss": "^4.2.4",
"typescript": "^6.0.3"
}
}