Files
sim/apps/docs/next.config.ts
Emir Karabeg ad100fa871 improvement(docs): ui/ux cleanup (#4016)
* improvement(landing, blog): SEO and GEO optimization

* improvement(docs): ui/ux cleanup

* chore(blog): remove unused buildBlogJsonLd export and wordCount schema field

* fix(blog): stack related posts vertically on mobile and fill all suggestion slots

- Add flex-col sm:flex-row and matching border classes to related posts
  nav for consistent mobile stacking with the main blog page
- Remove score > 0 filter in getRelatedPosts so it falls back to recent
  posts when there aren't enough tag matches
- Align description text color with main page cards
2026-04-07 11:05:58 -07:00

32 lines
575 B
TypeScript

import { createMDX } from 'fumadocs-mdx/next'
import type { NextConfig } from 'next'
const withMDX = createMDX()
const config: NextConfig = {
reactStrictMode: true,
experimental: {
webpackMemoryOptimizations: true,
webpackBuildWorker: true,
},
async redirects() {
return [
{
source: '/',
destination: '/introduction',
permanent: true,
},
]
},
async rewrites() {
return [
{
source: '/:path*.mdx',
destination: '/llms.mdx/:path*',
},
]
},
}
export default withMDX(config)