729e6ab287
- Auto-generated sidebar from file structure - Built-in search and TOC - MDX native support with frontmatter - Removed hand-written Sidebar component - Docs now at /docs/* route (Landing/Blocks/Create/Examples unchanged) - Content in content/docs/ as MDX files
14 lines
324 B
JavaScript
14 lines
324 B
JavaScript
import { createMDX } from 'fumadocs-mdx/next';
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
images: { unoptimized: true },
|
|
transpilePackages: ['newspaperui'],
|
|
};
|
|
|
|
const withMDX = createMDX();
|
|
|
|
export default withMDX(nextConfig);
|