From 6626d3eee03878604b43fc11cfe1cd3bf7c4ad0c Mon Sep 17 00:00:00 2001 From: anghunk Date: Wed, 21 Jan 2026 10:58:58 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E4=BB=93=E5=BA=93URL?= =?UTF-8?q?=E4=BB=8Ecwd=E5=88=B0CWD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将所有文档和代码中的仓库URL从小写的'cwd'更新为大写的'CWD',以保持一致性 --- README.md | 2 +- cwd-admin/index.html | 2 +- cwd-admin/src/views/LayoutView.vue | 4 ++-- cwd-api/src/index.ts | 2 +- docs/.vitepress/config.mjs | 6 +++--- docs/guide/getting-started.md | 2 +- docs/index.md | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c015e84..8bd9fb1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > > 目前处于内测阶段,欢迎参与测试。 - + # CWD (Cloudflare Workers Discuss) diff --git a/cwd-admin/index.html b/cwd-admin/index.html index 18f2748..6a4276a 100644 --- a/cwd-admin/index.html +++ b/cwd-admin/index.html @@ -4,7 +4,7 @@ - CWD 评论系统后台 diff --git a/cwd-admin/src/views/LayoutView.vue b/cwd-admin/src/views/LayoutView.vue index dcd158d..c4e31e4 100644 --- a/cwd-admin/src/views/LayoutView.vue +++ b/cwd-admin/src/views/LayoutView.vue @@ -20,7 +20,7 @@ 使用文档 - + Github @@ -144,7 +144,7 @@ function openDocs() { } function openGithub() { - window.open("https://github.com/anghunk/cwd", "_blank"); + window.open("https://github.com/anghunk/CWD", "_blank"); closeActions(); } diff --git a/cwd-api/src/index.ts b/cwd-api/src/index.ts index 0ee52d1..56bef16 100644 --- a/cwd-api/src/index.ts +++ b/cwd-api/src/index.ts @@ -205,7 +205,7 @@ app.use('/admin/*', async (c, next) => { app.get('/', (c) => { return c.html( - `CWD 评论部署成功,当前版本 ${VERSION},查看文档` + `CWD 评论部署成功,当前版本 ${VERSION},查看文档` ); }); diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index ad41a76..9d2001d 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -11,7 +11,7 @@ export default defineConfig({ 'link', { rel: 'icon', - href: 'https://github.com/anghunk/cwd/blob/main/icon.png?raw=true', + href: 'https://github.com/anghunk/CWD/blob/main/icon.png?raw=true', }, ], ], @@ -23,10 +23,10 @@ export default defineConfig({ label: 'On this page', }, editLink: { - pattern: 'https://github.com/anghunk/cwd/blob/main/docs/:path', + pattern: 'https://github.com/anghunk/CWD/blob/main/docs/:path', text: '在 GitHub 上编辑此页面', }, - socialLinks: [{ icon: 'github', link: 'https://github.com/anghunk/cwd' }], + socialLinks: [{ icon: 'github', link: 'https://github.com/anghunk/CWD' }], lastUpdated: true, lastUpdatedText: '最后更新于', diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index c9222c2..66d881b 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -30,7 +30,7 @@ CWD 评论系统。 ```bash # 克隆项目 -git clone https://github.com/anghunk/cwd +git clone https://github.com/anghunk/CWD # API 项目 cd cwd-api diff --git a/docs/index.md b/docs/index.md index 06528af..14732f2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,7 +5,7 @@ hero: name: CWD 评论系统 tagline: 基于 Cloudflare Workers 与全球边缘网络的免服务器、极速安全、即插即用评论系统。 image: - src: https://github.com/anghunk/cwd/blob/main/icon.png?raw=true + src: https://github.com/anghunk/CWD/blob/main/icon.png?raw=true alt: 文档封面 actions: - theme: brand