## Description ##
This PR fixes the bad behavior of the versions dropdown on the website. It will 
down remember what API document you were viewing when you switch versions. It 
even remembers which anchor/bookmark you're on.

## Preview
You can play with it here: http://34.201.8.176/

This is how it works on the site now. You're in deep on some doc page, and then 
think, "I wonder if the params are different in the last release...". You click 
the versions dropdown, select 1.3.0, and then _bam_, you're taken to the 1.3.0 
home page. 
![2018-09-21_11-41-27](https://user-images.githubusercontent.com/5974205/45900325-4d085000-bd94-11e8-96e8-8d9e49b08b79.gif)
This is so annoying. Now you have to go and search for that page again.

With this PR, changing versions does what you'd expect it to do!
![2018-09-21_11-41-27-1](https://user-images.githubusercontent.com/5974205/45900712-5c3bcd80-bd95-11e8-8fb2-f7df35e1e849.gif)

If you pick a doc that didn't exist in a previous version, you get a 404 error.
![2018-09-21_11-41-27-2](https://user-images.githubusercontent.com/5974205/45900827-b9378380-bd95-11e8-91b6-b4b93b3f6fdf.gif)



[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12632 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to