summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-10-03 23:33:54 -0400
committerGitHub <noreply@github.com>2017-10-03 23:33:54 -0400
commit727f419b1a2c32fcc7f86be4c63671740b1f7940 (patch)
tree09667bccc587d6a6997a9842ce88e07420bfe756
parent[3.4][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3353) (diff)
downloadcpython-727f419b1a2c32fcc7f86be4c63671740b1f7940.tar.gz
cpython-727f419b1a2c32fcc7f86be4c63671740b1f7940.tar.bz2
cpython-727f419b1a2c32fcc7f86be4c63671740b1f7940.zip
Remove retired and security branches from active docs (#3883)
-rw-r--r--Doc/tools/static/version_switch.js8
-rw-r--r--Doc/tools/templates/indexsidebar.html4
2 files changed, 5 insertions, 7 deletions
diff --git a/Doc/tools/static/version_switch.js b/Doc/tools/static/version_switch.js
index 7289a4d01ea..ea08a960f9d 100644
--- a/Doc/tools/static/version_switch.js
+++ b/Doc/tools/static/version_switch.js
@@ -2,13 +2,11 @@
'use strict';
var all_versions = {
- '3.6': 'dev (3.6)',
+ '3.7': 'dev (3.7)',
+ '3.6': '3.6',
'3.5': '3.5',
'3.4': '3.4',
- '3.3': '3.3',
- '3.2': '3.2',
- '2.7': '2.7',
- '2.6': '2.6'
+ '2.7': '2.7'
};
function build_select(current_version, current_release) {
diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html
index abdf070772c..8b009418a4a 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -3,8 +3,8 @@
<h3>Docs for other versions</h3>
<ul>
<li><a href="https://docs.python.org/2.7/">Python 2.7 (stable)</a></li>
- <li><a href="https://docs.python.org/3.3/">Python 3.3 (stable)</a></li>
- <li><a href="https://docs.python.org/3.5/">Python 3.5 (in development)</a></li>
+ <li><a href="https://docs.python.org/3.6/">Python 3.6 (stable)</a></li>
+ <li><a href="https://docs.python.org/3.7/">Python 3.7 (in development)</a></li>
<li><a href="https://www.python.org/doc/versions/">Old versions</a></li>
</ul>