Navigation version breaking
{'login': 'mttk', 'id': 3007947, 'node_id': 'MDQ6VXNlcjMwMDc5NDc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3007947?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mttk', 'html_url': 'https://github.com/mttk', 'followers_url': 'https://api.github.com/users/mttk/followers', 'following_url': 'https://api.github.com/users/mttk/following{/other_user}', 'gists_url': 'https://api.github.com/users/mttk/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mttk/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mttk/subscriptions', 'organizations_url': 'https://api.github.com/users/mttk/orgs', 'repos_url': 'https://api.github.com/users/mttk/repos', 'events_url': 'https://api.github.com/users/mttk/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mttk/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Not relevant for our current docs :).
Hi, 

when navigating docs (Chrome, Ubuntu) (e.g. on this page: https://huggingface.co/docs/datasets/loading_metrics.html#using-a-custom-metric-script) the version control dropdown has the wrong string displayed as the current version: 

![image](https://user-images.githubusercontent.com/3007947/102632187-02cad080-414f-11eb-813b-28f3c8d80def.png)

**Edit:** this actually happens _only_ if you open a link to a concrete subsection.

IMO, the best way to fix this without getting too deep into the intricacies of retrieving version numbers from the URL would be to change [this](https://github.com/huggingface/datasets/blob/master/docs/source/_static/js/custom.js#L112) line to:
```
let label = (version in versionMapping) ? version : stableVersion
```
which delegates the check to the (already maintained) keys of the version mapping dictionary & should be more robust. There's a similar ternary expression [here](https://github.com/huggingface/datasets/blob/master/docs/source/_static/js/custom.js#L97) which should also fail in this case.

I'd also suggest swapping this [block](https://github.com/huggingface/datasets/blob/master/docs/source/_static/js/custom.js#L80-L90) to `string.contains(version) for version in versionMapping` which might be more robust. I'd add a PR myself but I'm by no means competent in JS :)

I also have a side question wrt. docs versioning: I'm trying to make docs for a project which are versioned alike to your dropdown versioning. I was wondering how do you handle storage of multiple doc versions on your server? Do you update what `https://huggingface.co/docs/datasets` points to for every stable release & manually create new folders for each released version?
So far I'm building & publishing (scping) the docs to the server with a github action which works well for a single version, but would ideally need to reorder the public files triggered on a new release.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1605/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 1, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}