Skip to content

Commit c90e645

Browse files
committed
2 parents ea0b83d + 7669ffc commit c90e645

30 files changed

+141
-99
lines changed

.vitepress/config/en.mts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { defineConfig } from 'vitepress'
33
// https://vitepress.dev/reference/site-config
44
export const en = defineConfig({
55
lang: 'en-US',
6-
title: "2023 COSR",
7-
description: "2023 China Open Source Report",
6+
title: "2024 COSR",
7+
description: "2024 China Open Source Report",
88

99
themeConfig: {
1010
nav: [
@@ -30,7 +30,7 @@ export const en = defineConfig({
3030
},
3131

3232
editLink: {
33-
pattern: 'https://github.com/kaiyuanshe/2023-China-Open-Source-Report/edit/main/:path',
33+
pattern: 'https://github.com/kaiyuanshe/2024-China-Open-Source-Report/edit/main/:path',
3434
text: 'Edit this page on GitHub'
3535
},
3636
},

.vitepress/config/shared.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ const deploymentEnvironment = process.env.VITE_DEPLOYMENT_ENVIRONMENT;
55
export const shared = defineConfig({
66
lastUpdated: true,
77

8-
base: deploymentEnvironment === 'gitee' ? '/2023-china-open-source-report/' : deploymentEnvironment === 'vercel' ? '' : '/2023-China-Open-Source-Report/',
8+
base: deploymentEnvironment === 'gitee' ? '/2024-china-open-source-report/' : deploymentEnvironment === 'vercel' ? '' : '/2024-China-Open-Source-Report/',
99

1010
head: [
1111
['link', { rel: 'icon', type: 'image/x-icon', href: '/image/China-Open-Source-Report.ico' }],
12-
['link', { rel: 'icon', type: 'image/x-icon', href: '/2023-China-Open-Source-Report/image/China-Open-Source-Report.ico' }],
12+
['link', { rel: 'icon', type: 'image/x-icon', href: '/2024-China-Open-Source-Report/image/China-Open-Source-Report.ico' }],
1313
[
1414
'script',
1515
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-7CSQ2KPB1F' }

.vitepress/config/zh.mts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { defineConfig } from 'vitepress'
33
// https://vitepress.dev/reference/site-config
44
export const zh = defineConfig({
55
lang: 'zh-Hans',
6-
title: "2023 中国开源年度报告",
7-
description: "2023 中国开源年度报告",
6+
title: "2024 中国开源年度报告",
7+
description: "2024 中国开源年度报告",
88

99
themeConfig: {
1010
nav: [
@@ -30,7 +30,7 @@ export const zh = defineConfig({
3030
},
3131

3232
editLink: {
33-
pattern: 'https://github.com/kaiyuanshe/2023-China-Open-Source-Report/edit/main/:path',
33+
pattern: 'https://github.com/kaiyuanshe/2024-China-Open-Source-Report/edit/main/:path',
3434
text: '在 GitHub 上编辑本页内容'
3535
},
3636

0 commit comments

Comments
 (0)