From 85645d2239f0a347a97031e31f045bafc06a6cf4 Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Wed, 2 Jul 2025 09:19:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- static/js/version_data.js | 15 ++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5b33c55ae..0478b3d2f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ public layouts/partials/docs/test-list.html layouts/partials/docs/test-list2.html node_modules -app/** \ No newline at end of file +app/** +.cache \ No newline at end of file diff --git a/static/js/version_data.js b/static/js/version_data.js index dee2f7a00..53e08f4c9 100644 --- a/static/js/version_data.js +++ b/static/js/version_data.js @@ -4,12 +4,14 @@ * 按照发布时间排序 */ const versionObjZh = { + '24.03 LTS SP2': { + homePath: 'https://docs.openeuler.org/zh/docs/24.03_LTS_SP2/server/releasenotes/releasenotes/introduction.html', + }, '25.03': { - homePath: 'https://docs.openeuler.org/zh/', + homePath: 'https://docs.openeuler.org/zh/docs/25.03/server/releasenotes/releasenotes/introduction.html', }, '24.03 LTS SP1': { - homePath: - '/24.03_LTS_SP1/docs/Releasenotes/%E6%B3%95%E5%BE%8B%E5%A3%B0%E6%98%8E.html', + homePath: 'https://docs.openeuler.org/zh/docs/24.03_LTS_SP1/server/releasenotes/releasenotes/introduction.html', }, 24.09: { homePath: @@ -99,11 +101,14 @@ const versionObjZh = { }; const versionObjEn = { + '24.03 LTS SP2': { + homePath: 'https://docs.openeuler.org/en/docs/24.03_LTS_SP2/server/releasenotes/releasenotes/introduction.html', + }, '25.03': { - homePath: 'https://docs.openeuler.org/en/', + homePath: 'https://docs.openeuler.org/en/docs/25.03/server/releasenotes/releasenotes/introduction.html', }, '24.03 LTS SP1': { - homePath: '/24.03_LTS_SP1/docs/Releasenotes/terms-of-use.html', + homePath: 'https://docs.openeuler.org/en/docs/24.03_LTS_SP1/server/releasenotes/releasenotes/introduction.html', }, 24.09: { homePath: '/24.09/docs/Releasenotes/terms-of-use.html', -- Gitee