aaronmarkham opened a new pull request #12632: Doc api version
URL: https://github.com/apache/incubator-mxnet/pull/12632
 
 
   ## 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)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to