Skip to content

Commit fb3bfda

Browse files
authored
Merge pull request #20 from FDUCSLG/patch/name
chore: replace "COMP101" with "CS101"
2 parents 7534aa9 + 64cf135 commit fb3bfda

File tree

5 files changed

+323
-1278
lines changed

5 files changed

+323
-1278
lines changed

docs/.vitepress/config/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const en = defineConfig({
1010
sidebar: sidebarGuide(),
1111

1212
editLink: {
13-
pattern: 'https://github.com/FDUCSLG/COMP101/edit/main/docs/:path',
13+
pattern: 'https://github.com/FDUCSLG/CS101/edit/main/docs/:path',
1414
text: 'Edit this page on GitHub'
1515
},
1616

docs/.vitepress/config/shared.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const shared = defineConfig({
2727
plugins: [
2828
GitChangelog({
2929
maxGitLogCount: 2000,
30-
repoURL: () => 'https://github.com/FDUCSLG/COMP101',
30+
repoURL: () => 'https://github.com/FDUCSLG/CS101',
3131
}),
3232
GitChangelogMarkdownSection({
3333
exclude: (id) => id.endsWith('index.md') || id.endsWith('team.md'),
@@ -72,7 +72,7 @@ export const shared = defineConfig({
7272
},
7373

7474
sitemap: {
75-
hostname: 'https://comp101.fducslg.com/',
75+
hostname: 'https://cs101.fducslg.com/',
7676
transformItems(items) {
7777
return items.filter((item) => !item.url.includes('migration'))
7878
}
@@ -101,6 +101,6 @@ export const shared = defineConfig({
101101
search: {
102102
provider: 'local'
103103
},
104-
socialLinks: [{ icon: 'github', link: 'https://github.com/FDUCSLG/COMP101' }]
104+
socialLinks: [{ icon: 'github', link: 'https://github.com/FDUCSLG/CS101' }]
105105
}
106106
})

docs/.vitepress/config/zh.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const zh = defineConfig({
1010
sidebar: sidebarGuide(),
1111

1212
editLink: {
13-
pattern: 'https://github.com/FDUCSLG/COMP101/edit/main/docs/:path',
13+
pattern: 'https://github.com/FDUCSLG/CS101/edit/main/docs/:path',
1414
text: '在 GitHub 上编辑此页面'
1515
},
1616

@@ -90,7 +90,7 @@ function sidebarGuide(): DefaultTheme.Sidebar {
9090
{ text: "发行版相关", link: "/linux-and-shell/on-distros" },
9191
],
9292
},
93-
{ text: "关于 COMP101 项目", link: "/project" },
93+
{ text: "关于 CS101 项目", link: "/project" },
9494
{ text: "关于我们", link: "/team" },
9595
]
9696
}

0 commit comments

Comments
 (0)