Files
dbx/docs/lib/source.ts
T
t8y2 6a5a380fdd 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
2026-05-06 10:17:17 +08:00

10 lines
222 B
TypeScript

import { loader } from 'fumadocs-core/source';
import { i18n } from '@/lib/i18n';
import { docs } from '@/.source/server';
export const source = loader({
baseUrl: '/docs',
source: docs.toFumadocsSource(),
i18n,
});