Skip to content

feat: update doc with next version doc address #1751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 32 additions & 4 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ module.exports = {
},
{
text: 'Guides',
link: '/guides/'
link: '/guides/',
items: [
{
text: '2.x-beta',
link:
'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html'
}
]
},
{
text: 'Upgrading to V1',
Expand Down Expand Up @@ -77,7 +84,14 @@ module.exports = {
},
{
text: '教程',
link: '/zh/guides/'
link: '/zh/guides/',
items: [
{
text: '2.x-beta',
link:
'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html'
}
]
}
],
sidebar: [
Expand All @@ -102,7 +116,14 @@ module.exports = {
},
{
text: 'ガイド',
link: '/ja/guides/'
link: '/ja/guides/',
items: [
{
text: '2.x-beta',
link:
'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html'
}
]
}
],
sidebar: [
Expand All @@ -127,7 +148,14 @@ module.exports = {
},
{
text: 'Руководства',
link: '/ru/guides/'
link: '/ru/guides/',
items: [
{
text: '2.x-beta',
link:
'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html'
}
]
}
],
sidebar: [
Expand Down
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Introduction

::: warning
This doc is for Vue2.x only. If you want to see docs related to 3.x, please move to [here](https://vue-test-utils.vuejs.org/v2/guide/introduction.html)
:::

Vue Test Utils is the official unit testing utility library for Vue.js.

<div class="vueschool"><a href="https://vueschool.io/courses/learn-how-to-test-vuejs-components?friend=vuejs" target="_blank" rel="sponsored noopener" title="Learn how to use Vue Test Utils to test Vue.js Components with Vue School">Learn how to test Vue.js components with Vue School</a></div>
Expand Down
4 changes: 4 additions & 0 deletions docs/zh/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 介绍

::: warning
本文档基于 Vue2.x,新版本文档请移步至[这里](https://vue-test-utils.vuejs.org/v2/guide/introduction.html)
:::

Vue Test Utils 是 Vue.js 官方的单元测试实用工具库。

<div class="vueschool"><a href="https://vueschool.io/courses/learn-how-to-test-vuejs-components?friend=vuejs" target="_blank" rel="sponsored noopener" title="Learn how to use Vue Test Utils to test Vue.js Components with Vue School">在 Vue School 学习如何测试 Vue.js 组件</a></div>
Expand Down