From 06cc09e000affe6a7d1c59ea1086ddc760da2ab5 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Mon, 7 Aug 2017 16:32:24 -0700 Subject: [PATCH] update branch version variables --- _config.yml | 4 ++-- editdocs.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index f6071aef08..76d64177fb 100644 --- a/_config.yml +++ b/_config.yml @@ -20,8 +20,8 @@ defaults: values: fullversion: "v1.7.0" version: "v1.7" - githubbranch: "master" - docsbranch: "master" + githubbranch: "v1.7.0" + docsbranch: "release-1.7" - scope: path: "docs" 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 {