Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0c3d23df
Commit
0c3d23df
authored
Feb 09, 2021
by
Sylvain Gugger
Browse files
Add patch releases to the doc
parent
3e0c62b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.circleci/deploy.sh
.circleci/deploy.sh
+1
-1
docs/source/_static/js/custom.js
docs/source/_static/js/custom.js
+2
-2
No files found.
.circleci/deploy.sh
View file @
0c3d23df
...
...
@@ -57,4 +57,4 @@ deploy_doc "818878d" v3.5.1
deploy_doc
"c781171"
v4.0.1
deploy_doc
"bfa4ccf"
v4.1.1
deploy_doc
"7d9a9d0"
v4.2.2
deploy_doc
"cc86472"
# v4.3.
0
Latest stable release
deploy_doc
"cc86472"
# v4.3.
2
Latest stable release
docs/source/_static/js/custom.js
View file @
0c3d23df
// These two things need to be updated at each release for the version selector.
// Last stable version
const
stableVersion
=
"
v4.3.
0
"
const
stableVersion
=
"
v4.3.
2
"
// Dictionary doc folder to label. The last stable version should have an empty key.
const
versionMapping
=
{
"
master
"
:
"
master
"
,
""
:
"
v4.3.0 (stable)
"
,
""
:
"
v4.3.0
/v4.3.1/v4.3.2
(stable)
"
,
"
v4.2.2
"
:
"
v4.2.0/v4.2.1/v4.2.2
"
,
"
v4.1.1
"
:
"
v4.1.0/v4.1.1
"
,
"
v4.0.1
"
:
"
v4.0.0/v4.0.1
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment