]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: rename branch
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 18 Jan 2022 19:59:03 +0000 (20:59 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 18 Jan 2022 19:59:03 +0000 (20:59 +0100)
.github/contributing.md
.github/workflows/release-tag.yml
.github/workflows/size-check.yml
README.md
docs/.vitepress/config.ts
docs/introduction.md
docs/zh/introduction.md

index c2ed3d7d2aea1a80fbf195b83cb8ad907ff96798..807cd45ac15414c97bd71b30f43c0baaf074528f 100644 (file)
@@ -17,7 +17,7 @@ Hi! I'm really excited that you are interested in contributing to Vue Router. Be
 
 ## Pull Request Guidelines
 
-- Checkout a topic branch from a base branch, e.g. `master`, and merge back against that branch.
+- Checkout a topic branch from a base branch, e.g. `main`, and merge back against that branch.
 
 - If adding a new feature:
 
index 824b4359393f36f36a300287e5e2c44967bad6a0..9c6a1a287ccd4b1b2062a632750c03941f6d042f 100644 (file)
@@ -20,4 +20,4 @@ jobs:
         with:
           tag_name: ${{ github.ref }}
           body: |
-            Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/master/CHANGELOG.md) for details.
+            Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/main/CHANGELOG.md) for details.
index c0bb7526123ca6bbde3da5a62998fe2f7af7657f..1d12c96266fe0709a04a656ee19d514e28b88e53 100644 (file)
@@ -2,10 +2,10 @@ name: 'size'
 on:
   push:
     branches:
-      - master
+      - main
   pull_request:
     branches:
-      - master
+      - main
 jobs:
   size:
     runs-on: ubuntu-latest
index 8a60bfb0e3378b445d805eba5dfc62ef12522bdf..31a974e1596dfd2e3f7ab1fdb93bc778968dc3b5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/router/master)](https://circleci.com/gh/vuejs/router)
+# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/router/main)](https://circleci.com/gh/vuejs/router)
 
 > This is the repository for Vue Router 4 (for Vue 3)
 
@@ -73,7 +73,7 @@ Please consult the [Migration Guide](https://next.router.vuejs.org/guide/migrati
 
 ## Contributing
 
-See [Contributing Guide](https://github.com/vuejs/router/blob/master/.github/contributing.md).
+See [Contributing Guide](https://github.com/vuejs/router/blob/main/.github/contributing.md).
 
 ## Special Thanks
 
index c7b5e17851be263cc7bcb4b2e429ed4be56795d3..4b60989a749890cf08058eca7c9ac28775de8805 100644 (file)
@@ -36,7 +36,7 @@ const config = defineConfig({
     repo: 'vuejs/router',
     docsRepo: 'vuejs/router',
     docsDir: 'docs',
-    docsBranch: 'master',
+    docsBranch: 'main',
     editLinks: true,
     editLinkText: 'Suggest changes to this page',
 
@@ -77,7 +77,7 @@ const config = defineConfig({
           },
           {
             text: 'Changelog',
-            link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
+            link: 'https://github.com/vuejs/router/blob/main/CHANGELOG.md',
           },
         ],
 
@@ -207,7 +207,7 @@ const config = defineConfig({
           },
           {
             text: '更新日志',
-            link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
+            link: 'https://github.com/vuejs/router/blob/main/CHANGELOG.md',
           },
         ],
 
index b4392212f0d659d2bf530af3fd5fba430d10a8a4..1c45a109e72a3c1faed81e3dd946a38aaf572d52 100644 (file)
@@ -13,7 +13,7 @@ Vue Router is the official router for [Vue.js](http://v3.vuejs.org). It deeply i
 - Customizable Scroll Behavior
 - Proper encoding for URLs
 
-[Get started](./guide/) or play with the [playground](https://github.com/vuejs/router/tree/master/playground) (see [`README.md`](https://github.com/vuejs/router) to run them).
+[Get started](./guide/) or play with the [playground](https://github.com/vuejs/router/tree/main/playground) (see [`README.md`](https://github.com/vuejs/router) to run them).
 
 <HomeSponsors />
 
index 135aa76b3c2d7efbfa7a0907142755d71ff93b02..823de735904c2a0e7d9547671f77427a21947859 100644 (file)
@@ -13,7 +13,7 @@ Vue Router 是 [Vue.js](http://v3.vuejs.org) 的官方路由。它与 Vue.js 核
 - 可定制的滚动行为
 - URL 的正确编码
 
-[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。
+[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/main/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。
 
 <HomeSponsors />