diff --git a/_config.yml b/_config.yml
index f6071aef08..86f961e2a5 100644
--- a/_config.yml
+++ b/_config.yml
@@ -22,6 +22,27 @@ defaults:
version: "v1.7"
githubbranch: "master"
docsbranch: "master"
+ versions:
+ - fullversion: "v1.7.3"
+ version: "v1.7"
+ githubbranch: "v1.7.3"
+ docsbranch: "release-1.7"
+ url: https://kubernetes.io/docs/home/
+ - fullversion: "v1.6.8"
+ version: "v1.6"
+ githubbranch: "v1.6.8"
+ docsbranch: "release-1.6"
+ url: https://v1-6.docs.kubernetes.io/docs/home/
+ - fullversion: "v1.5.7"
+ version: "v1.5"
+ githubbranch: "v1.5.7"
+ docsbranch: "release-1.5"
+ url: https://v1-5.docs.kubernetes.io/docs/
+ - fullversion: "v1.4.12"
+ version: "v1.4"
+ githubbranch: "v1.4.12"
+ docsbranch: "release-1.4"
+ url: https://v1-4.docs.kubernetes.io/docs/
-
scope:
path: "docs"
diff --git a/_includes/header.html b/_includes/header.html
index 714056a347..a4c5250282 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -10,6 +10,17 @@
Partners
Community
Case Studies
+
+
+ {{page.version}}
+
+
+
+
Try Kubernetes
diff --git a/_sass/_base.sass b/_sass/_base.sass
index ca48b70ccb..5e96e07c47 100644
--- a/_sass/_base.sass
+++ b/_sass/_base.sass
@@ -258,12 +258,40 @@ ul.global-nav
left: 0
background: #fff
+ ul
+ display: none
+ position: fixed
+ top: 40px
+ text-align: left
+
+ li
+ display: block
+ height: 28px
+
+ a
+ background: $dark-grey
+ color: #fff
+ padding: 7px
+
+ li:last-child
+ a
+ border-radius: 7px
+
+ li:hover
+ ul
+ display: block
+
.flip-nav ul.global-nav li a,
.open-nav ul.global-nav li a,
- color: #333
+ color: $dark-grey
+
+.flip-nav ul.global-nav li ul li a,
+ background: #fff
+ color: $dark-grey
.flip-nav ul.global-nav li a.active:after,
+.flip-nav ul.global-nav li ul li a.active:after,
.open-nav ul.global-nav li a.active:after,
background: $blue
diff --git a/editdocs.md b/editdocs.md
index 05dadd90cf..cee46f80ef 100644
--- a/editdocs.md
+++ b/editdocs.md
@@ -12,7 +12,7 @@ $( document ).ready(function() {
$("#generalInstructions").hide();
$("#continueEdit").show();
$("#continueEditButton").text("Edit " + forwarding);
- $("#continueEditButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/edit/master/" + forwarding)
+ $("#continueEditButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/edit/{{ page.docsbranch }}/" + forwarding)
$("#viewOnGithubButton").text("View " + forwarding + " on GitHub");
$("#viewOnGithubButton").attr("href", "https://git.k8s.io/kubernetes.github.io/" + forwarding)
} else {