"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "bde7378bf0fad2ce769ae2a5f9e5c055f076bcb5"
Unverified Commit 7e1d709e authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix link to stable version in the doc navbar (#9007)

parent 02d0e035
// 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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment