Skip to content

Commit ada35be

Browse files
authoredJan 28, 2025··
Merge pull request #21 from kaiyuanshe/fix-index-2
fix: some info bug
2 parents 7fd419f + b7eaaa0 commit ada35be

25 files changed

+702
-921
lines changed
 

‎.vitepress/config/en.mts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const en = defineConfig({
1919
{ text: 'OSS Questionnaire', link: '/en/questionnaire' },
2020
{ text: 'OSS Data Analytics', link: '/en/data' },
2121
{ text: 'OSS Commercialization', link: '/en/commercialization' },
22+
{ text: 'OSS AI', link: '/en/ossAI' },
2223
{ text: 'OSS Chronicle', link: '/en/open-source-milestones' },
2324
]
2425
}

‎.vitepress/config/index.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { defineConfig } from 'vitepress'
22
import { shared } from './shared.mts'
3-
import { en } from './en.mts'
3+
// import { en } from './en.mts'
44
import { zh } from './zh.mts'
55

66
export default defineConfig({
77
...shared,
88

99
locales: {
1010
root: { label: '简体中文', ...zh },
11-
en: { label: 'English', ...en },
11+
// en: { label: 'English', ...en },
1212
},
1313
})

‎.vitepress/config/shared.mts

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export const shared = defineConfig({
2828
logo: '/image/China-Open-Source-Report.png',
2929

3030
socialLinks: [
31-
{ icon: 'github', link: 'https://github.com/kaiyuanshe/2023-China-Open-Source-Report' },
32-
{
33-
icon: {
34-
svg:
35-
`<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" fill="#c71d23" r="16"/><path d="m24.0987698 14.2225144h-9.0863697c-.4362899.000207-.7900048.3538292-.790326.7901191l-.0005173 1.9752185c-.0003277.4363707.353328.7902117.7896987.790326.0000712 0 .0001424 0 .0002135-.0002135l5.5317648-.0000461c.4363708-.0000102.7901221.3537352.7901257.790106 0 .0000022 0 .0000044-.0000066.0000066v.1975077.1975318c0 1.3091122-1.0612451 2.3703573-2.3703573 2.3703573h-7.5067195c-.4363081-.0000218-.790009-.353713-.7900429-.7900211l-.0002069-7.5059917c-.0001014-1.3091122 1.0611145-2.3703865 2.3702267-2.3704226.0000217 0 .0000435 0 .0000653.0000653h11.0602463c.4361793-.0004902.7898484-.35394.7906091-.79011894l.0012251-1.97521881c.0007606-.43637034-.3527683-.79033806-.7891389-.79060871-.0001634-.0000001-.0003268-.00000015-.0004901.00048976h-11.0617654c-3.27278051 0-5.92589329 2.65311278-5.92589329 5.9258933v11.0612755c0 .4363707.35374837.7901191.7901191.7901191h11.65447149c2.9454379 0 5.3331872-2.3877493 5.3331872-5.3331872v-4.5430682c0-.4363707-.3537484-.7901191-.7901191-.7901191z" fill="#fff"/></g></svg>`
36-
},
37-
link: 'https://gitee.com/kaiyuanshe/2023-China-Open-Source-Report'
38-
}
31+
{ icon: 'github', link: 'https://github.com/kaiyuanshe/2024-China-Open-Source-Report' },
32+
// {
33+
// icon: {
34+
// svg:
35+
// `<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" fill="#c71d23" r="16"/><path d="m24.0987698 14.2225144h-9.0863697c-.4362899.000207-.7900048.3538292-.790326.7901191l-.0005173 1.9752185c-.0003277.4363707.353328.7902117.7896987.790326.0000712 0 .0001424 0 .0002135-.0002135l5.5317648-.0000461c.4363708-.0000102.7901221.3537352.7901257.790106 0 .0000022 0 .0000044-.0000066.0000066v.1975077.1975318c0 1.3091122-1.0612451 2.3703573-2.3703573 2.3703573h-7.5067195c-.4363081-.0000218-.790009-.353713-.7900429-.7900211l-.0002069-7.5059917c-.0001014-1.3091122 1.0611145-2.3703865 2.3702267-2.3704226.0000217 0 .0000435 0 .0000653.0000653h11.0602463c.4361793-.0004902.7898484-.35394.7906091-.79011894l.0012251-1.97521881c.0007606-.43637034-.3527683-.79033806-.7891389-.79060871-.0001634-.0000001-.0003268-.00000015-.0004901.00048976h-11.0617654c-3.27278051 0-5.92589329 2.65311278-5.92589329 5.9258933v11.0612755c0 .4363707.35374837.7901191.7901191.7901191h11.65447149c2.9454379 0 5.3331872-2.3877493 5.3331872-5.3331872v-4.5430682c0-.4363707-.3537484-.7901191-.7901191-.7901191z" fill="#fff"/></g></svg>`
36+
// },
37+
// link: 'https://gitee.com/kaiyuanshe/2024-China-Open-Source-Report'
38+
// }
3939
],
4040

4141
search: {

‎.vitepress/config/zh.mts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const zh = defineConfig({
1919
{ text: '问卷篇', link: '/questionnaire' },
2020
{ text: '数据篇', link: '/data' },
2121
{ text: '商业化篇', link: '/commercialization' },
22+
{ text: '开源人工智能篇', link: '/ossAI' },
2223
{ text: '开源大事记', link: '/open-source-milestones' },
2324
]
2425
}

‎contents.md

-221
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.