Skip to content

Commit 5e44dd2

Browse files
committed
fix: Versions in docs (fix #1532)
Fixes #1532 I updated the documentation to show the latest version for each language. * Update the version number to 2.6 in the German, Spanish, French, Korean, Japanese, Russian, and Chinese documentation files. * Added a note about the latest updated version in the German, Spanish, French, Korean, Japanese, Russian, and Chinese documentation files. * Update the `locales` object in `docs/.vuepress/config.js` to include the latest version information for each language. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vuejs/vue-router/issues/1532?shareId=XXXX-XXXX-XXXX-XXXX).
1 parent 786ed34 commit 5e44dd2

File tree

8 files changed

+20
-6
lines changed

8 files changed

+20
-6
lines changed

Diff for: docs-gitbook/de/essentials/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ const app = new Vue({
6767
Das ganze gibt es natürlich auch als [Live-Beispiel](http://jsfiddle.net/yyx990803/xgrjzsup/).
6868

6969
Hinweis: `<router-link>` erhält automatisch die CSS-Klasse `.router-link-active`, wenn die aktuelle Route im Browser der des router-link entspricht. Mehr Infos dazu in der [API-Referenz](../api/router-link.md).
70+
71+
> Diese Dokumentation wurde zuletzt für Version 2.6 aktualisiert.

Diff for: docs-gitbook/es/installation.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ cd node_modules/vue-router
4242
npm install
4343
npm run build
4444
```
45+
46+
> Esta documentación fue actualizada por última vez para la versión 2.6.

Diff for: docs-gitbook/fr/essentials/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,5 @@ Dans les documentations, nous allons souvent utiliser l'instance `router`. Garde
9090
Vous pouvez aussi regarder cet [exemple](https://jsfiddle.net/yyx990803/xgrjzsup/).
9191

9292
Notez qu'un `<router-link>` obtiendra automatiquement la classe `.router-link-active` lorsque sa route cible correspond à la route actuelle. Vous pouvez en apprendre plus à propos de cela dans sa [documentation d'API](../api/router-link.md).
93+
94+
> Cette documentation a été mise à jour pour la dernière fois pour la version 2.6.

Diff for: docs-gitbook/ja/essentials/history-mode.md

+2
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,5 @@ const router = new VueRouter({
136136
```
137137

138138
他の方法として、もしあなたが Node.js サーバーを使っている場合、入ってきた URL とマッチさせて、マッチしなかった場合に 404 を返答するサーバーサイドのルーターを使って fallback を実装することもできます。詳細については [Vue サーバサイドレンダリングのドキュメント](https://ssr.vuejs.org/ja/) を参照してください。
139+
140+
> このドキュメントはバージョン 2.6 に合わせて更新されました。

Diff for: docs-gitbook/kr/essentials/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ const app = new Vue({
6666
[예제](http://jsfiddle.net/yyx990803/xgrjzsup/)를 확인하십시오.
6767

6868
`<router-link>`는 가리키는 라우트가 일치 할 때 자동으로 `.router-link-active` 클래스를 얻습니다. API 레퍼런스에서 더 많은 것을 배울 수 있습니다.
69+
70+
> 이 문서는 버전 2.6에 맞게 마지막으로 업데이트되었습니다.

Diff for: docs-gitbook/ru/essentials/history-mode.md

+2
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,5 @@ const router = new VueRouter({
134134
```
135135

136136
Если же вы используете на сервере Node.js, уже на стороне сервера можно задействовать конфигурацию роутера и решить таким образом проблему целиком. Ознакомьтесь с [руководством по серверному рендерингу Vue.js](https://ssr.vuejs.org/ru/) для получения дополнительной информации.
137+
138+
> Эта документация была обновлена в последний раз для версии 2.6.

Diff for: docs/.vuepress/config.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@ module.exports = ctx => ({
33
'/': {
44
lang: 'en-US',
55
title: 'Vue Router',
6-
description: 'The official router for Vue.js.'
6+
description: 'The official router for Vue.js. (Up to v2.6)'
77
},
88
'/zh/': {
99
lang: 'zh-CN',
1010
title: 'Vue Router',
11-
description: 'Vue.js 官方的路由管理器。'
11+
description: 'Vue.js 官方的路由管理器。 (Up to v2.6)'
1212
},
1313
'/ja/': {
1414
lang: 'ja',
1515
title: 'Vue Router',
16-
description: 'Vue.js の公式ルータ'
16+
description: 'Vue.js の公式ルータ (Up to v2.6)'
1717
},
1818
'/ru/': {
1919
lang: 'ru',
2020
title: 'Vue Router',
21-
description: 'Официальный маршрутизатор для Vue.js.'
21+
description: 'Официальный маршрутизатор для Vue.js. (Up to v2.6)'
2222
},
2323
'/kr/': {
2424
lang: 'kr',
2525
title: 'Vue Router',
26-
description: 'Vue.js 공식 라우터'
26+
description: 'Vue.js 공식 라우터 (Up to v2.6)'
2727
},
2828
'/fr/': {
2929
lang: 'fr',
3030
title: 'Vue Router',
31-
description: 'Routeur officiel pour Vue.Js'
31+
description: 'Routeur officiel pour Vue.Js (Up to v2.6)'
3232
}
3333
},
3434
head: [

Diff for: docs/zh/installation.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ cd node_modules/vue-router
5050
npm install
5151
npm run build
5252
```
53+
54+
> 此文档最后更新于版本 2.6。

0 commit comments

Comments
 (0)