From f58cf640508c2540ddcf67c0ef01a33e7b6bf8b8 Mon Sep 17 00:00:00 2001 From: Phan An Date: Sun, 5 Nov 2017 21:47:50 +0100 Subject: [PATCH] docs: add main focus for An MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add vi.vuejs.org as an additional main focus for An (that’s me). Also, since vi.vuejs.org’s repo is intentially outside of vuejs org, modified the code a bit to accept an object { name, url } as a valid repo. --- src/v2/guide/team.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/v2/guide/team.md b/src/v2/guide/team.md index c136e5ddf5..87c95e9385 100644 --- a/src/v2/guide/team.md +++ b/src/v2/guide/team.md @@ -23,7 +23,7 @@ order: 803
@@ -33,7 +33,7 @@ order: 803
@@ -427,7 +427,10 @@ order: 803 github: 'phanan', twitter: 'notphanan', reposOfficial: [ - 'vuejs.org' + 'vuejs.org', { + name: 'vi.vuejs.org', + url: 'https://github.com/vuejs-vn/vuejs.org' + } ], reposPersonal: [ 'vuequery', 'vue-google-signin-button' @@ -903,6 +906,9 @@ order: 803 * Generate a GitHub URL using a repo and a handle. */ githubUrl: function (handle, repo) { + if (repo && repo.url) { + return repo.url + } if (repo && repo.indexOf('/') !== -1) { // If the repo name has a slash, it must be an organization repo. // In such a case, we discard the (personal) handle.