-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
DocumentationRelated to Next.js' official documentation.Related to Next.js' official documentation.
Description
What is the documentation issue?
Using the provided example, getting the following error with a SSG setup.
Error: Page "/sitemap.xml/[[...metadata_id]]/route" is missing exported function "generateStaticParams()", which is required with "output: export" config.
Is there any context that might help us understand?
Next.js version: 14.2.13
Is generating sitemap.xml even possible with SSG?
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap
fareed13samcx
Metadata
Metadata
Assignees
Labels
DocumentationRelated to Next.js' official documentation.Related to Next.js' official documentation.