Skip to content

Commit cb33d57

Browse files
committed
remove changelog path from dev docs
1 parent 9f6f2fe commit cb33d57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ const outputFileTracingExcludes = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
9191
// - platform-redirect: dynamic route with searchParams
9292
// - [[...path]]: calls getDocsRootNode() during prerendering (even though force-static)
9393
// Additionally, [[...path]] needs source files for pages using ISR (Incremental Static Regeneration):
94-
// - changelog.mdx: uses ISR with 1-hour revalidation to fetch fresh content
94+
// - changelog.mdx: uses ISR with 1-hour revalidation to fetch fresh content (user docs only)
9595
// Other routes read frontmatter from source files instead of using doctree (sitemap, api/source-map)
9696
const outputFileTracingIncludes = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
9797
? {
9898
'/platform-redirect': ['public/doctree-dev.json'],
99-
'\\[\\[\\.\\.\\.path\\]\\]': ['public/doctree-dev.json', 'docs/changelog.mdx'],
99+
'\\[\\[\\.\\.\\.path\\]\\]': ['public/doctree-dev.json'],
100100
}
101101
: {
102102
'/platform-redirect': ['public/doctree.json'],

0 commit comments

Comments
 (0)