Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0f3dae41
Commit
0f3dae41
authored
Oct 27, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#8040: merge with 3.3.
parents
9375ff1c
edde409f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/tools/sphinxext/static/version_switch.js
Doc/tools/sphinxext/static/version_switch.js
+6
-2
No files found.
Doc/tools/sphinxext/static/version_switch.js
View file @
0f3dae41
...
...
@@ -52,8 +52,12 @@
}
$
(
document
).
ready
(
function
()
{
var
select
=
build_select
(
DOCUMENTATION_OPTIONS
.
VERSION
,
DOCUMENTATION_OPTIONS
.
RELEASE
);
var
version
=
DOCUMENTATION_OPTIONS
.
VERSION
.
split
(
'
.
'
),
release
=
DOCUMENTATION_OPTIONS
.
RELEASE
||
DOCUMENTATION_OPTIONS
.
VERSION
;
version
=
version
[
0
]
+
'
.
'
+
version
[
1
];
var
select
=
build_select
(
version
,
release
);
$
(
'
.version_switcher_placeholder
'
).
html
(
select
);
$
(
'
.version_switcher_placeholder select
'
).
bind
(
'
change
'
,
on_switch
);
});
...
...
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