update branch version variables
This commit is contained in:
+2
-2
@@ -20,8 +20,8 @@ defaults:
|
|||||||
values:
|
values:
|
||||||
fullversion: "v1.7.0"
|
fullversion: "v1.7.0"
|
||||||
version: "v1.7"
|
version: "v1.7"
|
||||||
githubbranch: "master"
|
githubbranch: "v1.7.0"
|
||||||
docsbranch: "master"
|
docsbranch: "release-1.7"
|
||||||
-
|
-
|
||||||
scope:
|
scope:
|
||||||
path: "docs"
|
path: "docs"
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ $( document ).ready(function() {
|
|||||||
$("#generalInstructions").hide();
|
$("#generalInstructions").hide();
|
||||||
$("#continueEdit").show();
|
$("#continueEdit").show();
|
||||||
$("#continueEditButton").text("Edit " + forwarding);
|
$("#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").text("View " + forwarding + " on GitHub");
|
||||||
$("#viewOnGithubButton").attr("href", "https://git.k8s.io/kubernetes.github.io/" + forwarding)
|
$("#viewOnGithubButton").attr("href", "https://git.k8s.io/kubernetes.github.io/" + forwarding)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user