docs: fix index.html.md causing 404 (#12241)

* docs: fix index.html.md causing 404

* update next.js

* test

* test

* test

* test

* fix revalidate

* test

* test

* test

* test

* test

* test

* test

* test

* clean up
This commit is contained in:
Shahed Nasser
2025-04-18 18:08:54 +03:00
committed by GitHub
parent 2e65f7ffc0
commit f3cb8f2e03
12 changed files with 1398 additions and 44 deletions
+7
View File
@@ -4,6 +4,13 @@ const { withContentlayer } = require("next-contentlayer")
const nextConfig = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/ui",
reactStrictMode: true,
outputFileTracingIncludes: {
"/md\\-content/\\[\\[\\.\\.\\.slug\\]\\]": [
"./src/content/docs/**/*.mdx",
"./specs/**/*",
"./examples/**/*"
],
},
}
module.exports = withContentlayer(nextConfig)
+1 -1
View File
@@ -27,7 +27,7 @@
"docs-ui": "*",
"docs-utils": "*",
"mdast-util-toc": "^7.0.0",
"next": "15.0.4",
"next": "15.3.1",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.2.1",
"postcss": "8.4.27",