Skip to content

Commit 6a02b7a

Browse files
authored
docs: update outdated v2 links (#2921)
1 parent 3b21e08 commit 6a02b7a

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

packages/docs/.vitepress/config/en.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
1818

1919
themeConfig: {
2020
editLink: {
21-
pattern: 'https://github.com/vuejs/pinia/edit/v2/packages/docs/:path',
21+
pattern: 'https://github.com/vuejs/pinia/edit/v3/packages/docs/:path',
2222
text: 'Suggest changes to this page',
2323
},
2424

@@ -41,7 +41,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
4141
},
4242
{
4343
text: 'Changelog',
44-
link: 'https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md',
44+
link: 'https://github.com/vuejs/pinia/blob/v3/packages/pinia/CHANGELOG.md',
4545
},
4646
{
4747
text: 'Vue.js Certification',

packages/docs/.vitepress/config/zh.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
1818

1919
themeConfig: {
2020
editLink: {
21-
pattern: 'https://github.com/vuejs/pinia/edit/v2/packages/docs/:path',
21+
pattern: 'https://github.com/vuejs/pinia/edit/v3/packages/docs/:path',
2222
text: '对本页提出修改建议',
2323
},
2424

@@ -50,7 +50,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
5050
},
5151
{
5252
text: '更新日志',
53-
link: 'https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md',
53+
link: 'https://github.com/vuejs/pinia/blob/v3/packages/pinia/CHANGELOG.md',
5454
},
5555
{
5656
text: 'Vue.js 认证',

packages/docs/cookbook/migration-0-0-7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The versions after `0.0.7`: `0.1.0`, and `0.2.0`, came with a few big breaking changes. This guide helps you migrate whether you use Vue 2 or Vue 3. The whole changelog can be found in the repository:
44

55
- [For Pinia <= 1 for Vue 2](https://github.com/vuejs/pinia/blob/v1/CHANGELOG.md)
6-
- [For Pinia >= 2 for Vue 3](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md)
6+
- [For Pinia >= 2 for Vue 3](https://github.com/vuejs/pinia/blob/v3/packages/pinia/CHANGELOG.md)
77

88
If you have questions or issues regarding the migration, feel free to [open a discussion](https://github.com/vuejs/pinia/discussions/categories/q-a) to ask for help.
99

packages/docs/cookbook/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ createTestingPinia({
237237

238238
:::
239239

240-
You can find more examples in [the tests of the testing package](https://github.com/vuejs/pinia/blob/v2/packages/testing/src/testing.spec.ts).
240+
You can find more examples in [the tests of the testing package](https://github.com/vuejs/pinia/blob/v3/packages/testing/src/testing.spec.ts).
241241

242242
### Mocking getters
243243

packages/docs/zh/cookbook/migration-0-0-7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The versions after `0.0.7`: `0.1.0`, and `0.2.0`, came with a few big breaking changes. This guide helps you migrate whether you use Vue 2 or Vue 3. The whole changelog can be found in the repository:
44

55
- [For Pinia <= 1 for Vue 2](https://github.com/vuejs/pinia/blob/v1/CHANGELOG.md)
6-
- [For Pinia >= 2 for Vue 3](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md)
6+
- [For Pinia >= 2 for Vue 3](https://github.com/vuejs/pinia/blob/v3/packages/pinia/CHANGELOG.md)
77

88
If you have questions or issues regarding the migration, feel free to [open a discussion](https://github.com/vuejs/pinia/discussions/categories/q-a) to ask for help.
99

packages/docs/zh/cookbook/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ createTestingPinia({
230230
})
231231
```
232232

233-
你可以在[测试包的测试源码](https://github.com/vuejs/pinia/blob/v2/packages/testing/src/testing.spec.ts)中找到更多的例子。
233+
你可以在[测试包的测试源码](https://github.com/vuejs/pinia/blob/v3/packages/testing/src/testing.spec.ts)中找到更多的例子。
234234

235235
### Mocking getters %{#mocking-getters}%
236236

0 commit comments

Comments
 (0)