Describe the bug, including details regarding any error messages, version, and platform.
The change we added in #39762 also affects the docs being built for minor releases but since these are not moved to a separate folder they should not include the change - neither for DOCUMENTATION_OPTIONS.theme_switcher_version_match nor for DOCUMENTATION_OPTIONS.show_version_warning_banner.
We should make sure the change in version and warning banner only affects major releases.
Component(s)
Documentation, Release