docs: prepare projects configurations for user guide (#11610)

* docs: prepare projects configurations for user guide

* fix build error
This commit is contained in:
Shahed Nasser
2025-02-26 10:01:30 +02:00
committed by GitHub
parent 9e2af4801d
commit b45c1e1580
5 changed files with 59 additions and 17 deletions
+4 -1
View File
@@ -48,6 +48,9 @@ const withMDX = createMDX({
projectPath: path.resolve("..", "ui"),
contentPath: "src/content/docs",
},
"user-guide": {
projectPath: path.resolve("..", "user-guide"),
},
},
},
],
@@ -91,4 +94,4 @@ const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE_BUNDLE === "true",
})
export default withMDX(nextConfig)
export default withMDX(withBundleAnalyzer(nextConfig))