Files
Jude Gao aaea98af3b [agents-md] Index bundled docs instead of downloading into .next-docs (#94719)
Since 16.2.0 the published `next` package ships its docs at `dist/docs`
(#89850), but `codemod agents-md` still git-clones a copy into
`.next-docs`. When the install resolved from `cwd` has bundled docs and
its version matches the requested one, the generated index now points at
`./node_modules/next/dist/docs` directly — no clone, no `.next-docs`, no
`.gitignore` entry. Older versions and explicit `--version` mismatches
keep the download path.

Covered by new e2e tests: bundled-docs indexing, `--version` match, and
download fallback on mismatch.

<!-- NEXT_JS_LLM_PR -->
2026-06-15 14:48:11 +00:00
..