mirror of
https://github.com/zenlm/docs.git
synced 2026-10-30 15:00:08 +00:00
- Static export ready: output:'export', static search route (force-static + revalidate:false), CNAME docs.zenlm.org. - pages.yml: pnpm install (resolves the @hanzo workspace override + builds esbuild/sharp) → next build → upload ./out → deploy-pages. Co-authored-by: Hanzo Dev <[email protected]>
14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
import { createMDX } from '@hanzo/docs-mdx/next';
|
|
|
|
const withMDX = createMDX({ outDir: '.docs' });
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
output: 'export',
|
|
images: { unoptimized: true },
|
|
trailingSlash: true,
|
|
reactStrictMode: true,
|
|
};
|
|
|
|
export default withMDX(config);
|