]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix bottom links's url
authorMonsterPi13 <rpishappynow@gmail.com>
Fri, 17 Feb 2023 08:47:48 +0000 (16:47 +0800)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Fri, 17 Feb 2023 09:52:52 +0000 (10:52 +0100)
packages/docs/.vitepress/config/en.ts
packages/docs/.vitepress/config/zh.ts

index d9ecc62de44fbf4fea958d1cf7901634c4f20152..aa43a5ee899955751d36c41e9ae560c78d3dd88a 100644 (file)
@@ -16,7 +16,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
 
   themeConfig: {
     editLink: {
-      pattern: 'https://github.com/vuejs/router/edit/v2/packages/docs/:path',
+      pattern: 'https://github.com/vuejs/router/edit/main/packages/docs/:path',
       text: 'Suggest changes to this page',
     },
 
index 201b5de304e302c95b7d84b8cc67ec26d8a70077..9ef667e8bc0203e117b8e68b4fc631be15d94c2c 100644 (file)
@@ -16,7 +16,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
 
   themeConfig: {
     editLink: {
-      pattern: 'https://github.com/vuejs/router/edit/v2/packages/docs/:path',
+      pattern: 'https://github.com/vuejs/router/edit/main/packages/docs/:path',
       text: '对本页提出修改建议',
     },