You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing changes for existing links — they serve content directly instead
of redirecting:
- the latest build mounts at /en/latest (default basePath), versioned
builds at /en/vX.Y.Z, matching RTD's tag URLs
- page routes carry the .html suffix via a custom loader url, so every
internal link, sidebar entry, and search result points at the exact
legacy URL (/en/latest/howto/select.html) and the exported file is the
page itself — no edge rewrite rules needed
- scripts/fix-html-ext.mjs renames Next's <route>.html.html exports and
moves the per-segment prefetch dirs (which squat on the page's own
path) to out-segments/; object storage holds both key shapes, and
filesystem hosts fall back to the full-page RSC payload
- redirects shrink to: / and /en/ → /en/latest/, plus the carried-over
upload → push rule, all generated into out-root/ for the bucket root
- version switcher and workflows updated for the /en/<version> prefixes;
only /en/latest is indexable
Verified with a headless-browser click-through: client-side navigation,
anchored cross-page links, and versioned builds all work.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Thc5nWNbxfQ67pVDcNSkxC
0 commit comments