mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 17:02:37 +00:00
- 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
10 lines
222 B
TypeScript
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,
|
|
});
|