From 5e44dd27aacd1dcb04e5394d480f3904c94e9f13 Mon Sep 17 00:00:00 2001
From: PoloSpark <jorge.jimenez@encora.com>
Date: Mon, 6 Jan 2025 16:18:29 -0700
Subject: [PATCH] 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).
---
 docs-gitbook/de/essentials/getting-started.md |  2 ++
 docs-gitbook/es/installation.md               |  2 ++
 docs-gitbook/fr/essentials/getting-started.md |  2 ++
 docs-gitbook/ja/essentials/history-mode.md    |  2 ++
 docs-gitbook/kr/essentials/getting-started.md |  2 ++
 docs-gitbook/ru/essentials/history-mode.md    |  2 ++
 docs/.vuepress/config.js                      | 12 ++++++------
 docs/zh/installation.md                       |  2 ++
 8 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/docs-gitbook/de/essentials/getting-started.md b/docs-gitbook/de/essentials/getting-started.md
index b56e8feff..6ead05856 100644
--- a/docs-gitbook/de/essentials/getting-started.md
+++ b/docs-gitbook/de/essentials/getting-started.md
@@ -67,3 +67,5 @@ const app = new Vue({
 Das ganze gibt es natürlich auch als [Live-Beispiel](http://jsfiddle.net/yyx990803/xgrjzsup/).
 
 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).
+
+> Diese Dokumentation wurde zuletzt für Version 2.6 aktualisiert.
diff --git a/docs-gitbook/es/installation.md b/docs-gitbook/es/installation.md
index 36084d3d3..3f80678e0 100644
--- a/docs-gitbook/es/installation.md
+++ b/docs-gitbook/es/installation.md
@@ -42,3 +42,5 @@ cd node_modules/vue-router
 npm install
 npm run build
 ```
+
+> Esta documentación fue actualizada por última vez para la versión 2.6.
diff --git a/docs-gitbook/fr/essentials/getting-started.md b/docs-gitbook/fr/essentials/getting-started.md
index efa2f78de..81cd05da4 100644
--- a/docs-gitbook/fr/essentials/getting-started.md
+++ b/docs-gitbook/fr/essentials/getting-started.md
@@ -90,3 +90,5 @@ Dans les documentations, nous allons souvent utiliser l'instance `router`. Garde
 Vous pouvez aussi regarder cet [exemple](https://jsfiddle.net/yyx990803/xgrjzsup/).
 
 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).
+
+> Cette documentation a été mise à jour pour la dernière fois pour la version 2.6.
diff --git a/docs-gitbook/ja/essentials/history-mode.md b/docs-gitbook/ja/essentials/history-mode.md
index 26081d159..fb60a39b1 100644
--- a/docs-gitbook/ja/essentials/history-mode.md
+++ b/docs-gitbook/ja/essentials/history-mode.md
@@ -136,3 +136,5 @@ const router = new VueRouter({
 ```
 
 他の方法として、もしあなたが Node.js サーバーを使っている場合、入ってきた URL とマッチさせて、マッチしなかった場合に 404 を返答するサーバーサイドのルーターを使って fallback を実装することもできます。詳細については [Vue サーバサイドレンダリングのドキュメント](https://ssr.vuejs.org/ja/) を参照してください。
+
+> このドキュメントはバージョン 2.6 に合わせて更新されました。
diff --git a/docs-gitbook/kr/essentials/getting-started.md b/docs-gitbook/kr/essentials/getting-started.md
index 4e6ca1d61..4f54d0c2b 100644
--- a/docs-gitbook/kr/essentials/getting-started.md
+++ b/docs-gitbook/kr/essentials/getting-started.md
@@ -66,3 +66,5 @@ const app = new Vue({
 이 [예제](http://jsfiddle.net/yyx990803/xgrjzsup/)를 확인하십시오.
 
 `<router-link>`는 가리키는 라우트가 일치 할 때 자동으로 `.router-link-active` 클래스를 얻습니다. API 레퍼런스에서 더 많은 것을 배울 수 있습니다.
+
+> 이 문서는 버전 2.6에 맞게 마지막으로 업데이트되었습니다.
diff --git a/docs-gitbook/ru/essentials/history-mode.md b/docs-gitbook/ru/essentials/history-mode.md
index a988ace89..facc05749 100644
--- a/docs-gitbook/ru/essentials/history-mode.md
+++ b/docs-gitbook/ru/essentials/history-mode.md
@@ -134,3 +134,5 @@ const router = new VueRouter({
 ```
 
 Если же вы используете на сервере Node.js, уже на стороне сервера можно задействовать конфигурацию роутера и решить таким образом проблему целиком. Ознакомьтесь с [руководством по серверному рендерингу Vue.js](https://ssr.vuejs.org/ru/) для получения дополнительной информации.
+
+> Эта документация была обновлена в последний раз для версии 2.6.
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 79c12f352..727ee56a1 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -3,32 +3,32 @@ module.exports = ctx => ({
     '/': {
       lang: 'en-US',
       title: 'Vue Router',
-      description: 'The official router for Vue.js.'
+      description: 'The official router for Vue.js. (Up to v2.6)'
     },
     '/zh/': {
       lang: 'zh-CN',
       title: 'Vue Router',
-      description: 'Vue.js 官方的路由管理器。'
+      description: 'Vue.js 官方的路由管理器。 (Up to v2.6)'
     },
     '/ja/': {
       lang: 'ja',
       title: 'Vue Router',
-      description: 'Vue.js の公式ルータ'
+      description: 'Vue.js の公式ルータ (Up to v2.6)'
     },
     '/ru/': {
       lang: 'ru',
       title: 'Vue Router',
-      description: 'Официальный маршрутизатор для Vue.js.'
+      description: 'Официальный маршрутизатор для Vue.js. (Up to v2.6)'
     },
     '/kr/': {
       lang: 'kr',
       title: 'Vue Router',
-      description: 'Vue.js 공식 라우터'
+      description: 'Vue.js 공식 라우터 (Up to v2.6)'
     },
     '/fr/': {
       lang: 'fr',
       title: 'Vue Router',
-      description: 'Routeur officiel pour Vue.Js'
+      description: 'Routeur officiel pour Vue.Js (Up to v2.6)'
     }
   },
   head: [
diff --git a/docs/zh/installation.md b/docs/zh/installation.md
index 0ae1c03f3..a85609fa6 100644
--- a/docs/zh/installation.md
+++ b/docs/zh/installation.md
@@ -50,3 +50,5 @@ cd node_modules/vue-router
 npm install
 npm run build
 ```
+
+> 此文档最后更新于版本 2.6。