mirror of
https://github.com/apache/superset.git
synced 2026-05-22 08:15:36 +00:00
Superset's docs site keeps `lastVersion: 'current'` in every section so the canonical URLs (`/docs/...`, `/admin-docs/...`, etc.) always render master content, with cut versions accessible only via their explicit version segment. The script's previous "auto-bump on first cut" behavior was a generic Docusaurus default that doesn't match this intent — for a section's first cut it would silently set lastVersion to the new version, redirecting the canonical URL to the historical snapshot. Drop the auto-bump. Operators who want the new version to become the canonical URL can edit versions-config.json after cutting.