Nx
Enterprise
Nx
fix(nx-dev): restore sitemap generation (keep robots.txt served from astro-docs) ## Current Behavior After the cleanup in #35315 removed next-sitemap, nx.dev/sitemap.xml and nx.dev/sitemap-0.xml 404. The framer-sitemap.ts edge function still serves /sitemap-1.xml and astro-docs serves /docs/sitemap-index.xml, but there's no root index tying them together, so SEO crawlers lose the sitemap entry point. ## Expected Behavior Bring back next-sitemap with generateRobotsTxt disabled. The sitemap target rebuilds: - public/sitemap.xml — root index (patched to include /sitemap-1.xml and /docs/sitemap-index.xml via scripts/patch-sitemap-index.mjs) - public/sitemap-0.xml — Next.js pages (now just /courses/* since the cleanup pared nx-dev down) robots.txt continues to be served via the Next.js beforeFiles rewrite to astro-docs (Content-Signal and correct sitemap URL preserved). This is a stopgap to unbreak sitemaps quickly; long-term we'll move sitemap generation out of Next.js alongside the rest of the nx-dev retirement. ## Related Issue(s) DOC-479
nx-cloud record -- nx sync:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx-cloud record -- nx sync:check
Click to copy
Linux
4 CPU cores
c61de5f9
35351