Skip to content

Commit 9e95516

Browse files
committed
build issues fix
1 parent d7f6d24 commit 9e95516

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed
Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { rehypeCode } from "fumadocs-core/mdx-plugins";
21
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
32
import rehypeKatex from "rehype-katex";
43
import remarkMath from "remark-math";
@@ -27,27 +26,7 @@ export const docs = defineDocs({
2726

2827
export default defineConfig({
2928
mdxOptions: {
30-
rehypeCodeOptions: {
31-
langs: [
32-
"solidity",
33-
"ts",
34-
"bash",
35-
"js",
36-
"json",
37-
"md",
38-
"mdx",
39-
"python",
40-
"rust",
41-
"sh",
42-
"yaml",
43-
],
44-
inline: "tailing-curly-colon",
45-
themes: {
46-
light: "github-light",
47-
dark: "github-dark",
48-
},
49-
},
5029
remarkPlugins: [remarkMath],
51-
rehypePlugins: [rehypeKatex, rehypeCode],
30+
rehypePlugins: (v) => [rehypeKatex, ...v],
5231
},
5332
});

apps/developer-hub/src/app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { Root } from "../components/Root";
55

66
export { metadata, viewport } from "../metadata";
77

8-
import "katex/dist/katex.css";
9-
108
export default function RootLayout({ children }: { children: ReactNode }) {
119
return <Root>{children}</Root>;
1210
}

0 commit comments

Comments
 (0)