diff --git a/.gitignore b/.gitignore index 5b33c55aee234eee5323c98daca2c2c009b74bfa..0478b3d2f54a92b2999ef3f5c945d64ef92c09ec 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 dee2f7a00bd1a04f522430b5ad24a580a18a3371..53e08f4c9f40737db2e34d183952d6befb446fc2 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',