mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-24 08:00:37 +00:00
3236ffc459
Restructure the docs navigation into product-focused pages, add automation expression reference content, and refresh related template and personalization surfaces.
22 lines
536 B
JavaScript
22 lines
536 B
JavaScript
import { createMDX } from 'fumadocs-mdx/next';
|
|
|
|
const withMDX = createMDX();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
reactStrictMode: true,
|
|
// This app has its own lockfile alongside the repo root one; pin the workspace
|
|
// root to silence Next's "multiple lockfiles" inference warning.
|
|
turbopack: { root: import.meta.dirname },
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/docs/:path*.mdx',
|
|
destination: '/llms.mdx/docs/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default withMDX(config);
|