Fix link to stable version in the doc navbar (#9007)
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
// These two things need to be updated at each release for the version selector.
|
// These two things need to be updated at each release for the version selector.
|
||||||
// Last stable version
|
// Last stable version
|
||||||
const stableVersion = "v4.0.0"
|
const stableVersion = "v4.0.0"
|
||||||
// Dictionary doc folder to label
|
// Dictionary doc folder to label. The last stable version should have an empty key.
|
||||||
const versionMapping = {
|
const versionMapping = {
|
||||||
"master": "master",
|
"master": "master",
|
||||||
"v4.0.0": "v4.0.0",
|
"": "v4.0.0 (stable)",
|
||||||
"v3.5.1": "v3.5.0/v3.5.1",
|
"v3.5.1": "v3.5.0/v3.5.1",
|
||||||
"v3.4.0": "v3.4.0",
|
"v3.4.0": "v3.4.0",
|
||||||
"v3.3.1": "v3.3.0/v3.3.1",
|
"v3.3.1": "v3.3.0/v3.3.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user