Best way to swap page content from a dropdown

Hi,
We are currently developing a reference library site for developers. After building our documentation pages successfully with the CMS, we have been asked to include different version of the documentation accessed by a dropdown menu on the page itself.

An example of this interaction is on this site.

Given we have already built out the template with a collection of multiple rich text fields in the CMS, is there a convenient way to include a dropdown that would allow us to swap the text fields from let’s say a v2 field to a v1 field?