Update doc for pre-release (#10014)

* Update doc for pre-release

* Use stable as default

* Use the right commit :facepalms:
This commit is contained in:
Sylvain Gugger
2021-02-04 16:52:27 -05:00
committed by GitHub
parent ba607db180
commit 3be965c5db
2 changed files with 4 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
// These two things need to be updated at each release for the version selector.
// Last stable version
const stableVersion = "v4.2.0"
const stableVersion = "v4.2.1"
// Dictionary doc folder to label. The last stable version should have an empty key.
const versionMapping = {
"master": "master",
"v4.3.0": "v4.3.0 (pre)",
"": "v4.2.0/v4.2.1 (stable)",
"v4.1.1": "v4.1.0/v4.1.1",
"v4.0.1": "v4.0.0/v4.0.1",