Dropdown for documentation versions

(cherry picked from commit 6c4e0e2825564be7acc64bb0401a12e6b37d9524)