Skip to content

Commit 8637131

Browse files
committed
no more search
1 parent 508cb74 commit 8637131

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

apps/docs/next.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { createMDX } from 'fumadocs-mdx/next';
1+
import { createMDX } from "fumadocs-mdx/next";
22

33
const withMDX = createMDX();
44

55
/** @type {import('next').NextConfig} */
66
const config = {
77
reactStrictMode: true,
8+
output: "export",
89
};
910

1011
export default withMDX(config);

apps/docs/src/app/api/search/route.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

apps/docs/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function Layout({ children }: LayoutProps<"/">) {
2929
suppressHydrationWarning
3030
>
3131
<body className="flex flex-col min-h-screen">
32-
<RootProvider>{children}</RootProvider>
32+
<RootProvider search={{ enabled: false }}>{children}</RootProvider>
3333
</body>
3434
</html>
3535
);

0 commit comments

Comments
 (0)