docs: add fumadocs documentation site (#142)

This commit is contained in:
Nexmoe
2026-01-17 14:37:43 +08:00
committed by GitHub
parent 6f1c6ce59e
commit 1f821b67dd
35 changed files with 5028 additions and 63 deletions

18
docs/next.config.mjs Normal file
View File

@@ -0,0 +1,18 @@
import { createMDX } from 'fumadocs-mdx/next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
async rewrites() {
return [
{
source: '/:path*.mdx',
destination: '/llms.mdx/:path*',
},
];
},
};
export default withMDX(config);