Files
superset2/docs/scripts
Claude Code 8386c3a042 chore(docs): don't auto-bump lastVersion when cutting a new version
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.
2026-05-13 17:15:29 -07:00
..