docs: 更新仓库URL从cwd到CWD
将所有文档和代码中的仓库URL从小写的'cwd'更新为大写的'CWD',以保持一致性
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
>
|
>
|
||||||
> 目前处于内测阶段,欢迎参与测试。
|
> 目前处于内测阶段,欢迎参与测试。
|
||||||
|
|
||||||
<img src="https://github.com/anghunk/cwd/blob/main/icon.png?raw=true" width="72" />
|
<img src="https://github.com/anghunk/CWD/blob/main/icon.png?raw=true" width="72" />
|
||||||
|
|
||||||
# CWD (Cloudflare Workers Discuss)
|
# CWD (Cloudflare Workers Discuss)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="shortcut icon" href="https://github.com/anghunk/cwd/blob/main/icon.png?raw=true"
|
<link rel="shortcut icon" href="https://github.com/anghunk/CWD/blob/main/icon.png?raw=true"
|
||||||
type="image/x-icon">
|
type="image/x-icon">
|
||||||
<title>CWD 评论系统后台</title>
|
<title>CWD 评论系统后台</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<a class="layout-button" href="https://cwd-docs.zishu.me" target="_blank">
|
<a class="layout-button" href="https://cwd-docs.zishu.me" target="_blank">
|
||||||
使用文档
|
使用文档
|
||||||
</a>
|
</a>
|
||||||
<a class="layout-button" href="https://github.com/anghunk/cwd" target="_blank">
|
<a class="layout-button" href="https://github.com/anghunk/CWD" target="_blank">
|
||||||
Github
|
Github
|
||||||
</a>
|
</a>
|
||||||
<button class="layout-button" @click="handleLogout">退出</button>
|
<button class="layout-button" @click="handleLogout">退出</button>
|
||||||
@@ -144,7 +144,7 @@ function openDocs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function openGithub() {
|
function openGithub() {
|
||||||
window.open("https://github.com/anghunk/cwd", "_blank");
|
window.open("https://github.com/anghunk/CWD", "_blank");
|
||||||
closeActions();
|
closeActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ app.use('/admin/*', async (c, next) => {
|
|||||||
|
|
||||||
app.get('/', (c) => {
|
app.get('/', (c) => {
|
||||||
return c.html(
|
return c.html(
|
||||||
`CWD 评论部署成功,当前版本 ${VERSION},<a href="https://github.com/anghunk/cwd" target="_blank" rel="noreferrer">查看文档</a>`
|
`CWD 评论部署成功,当前版本 ${VERSION},<a href="https://github.com/anghunk/CWD" target="_blank" rel="noreferrer">查看文档</a>`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export default defineConfig({
|
|||||||
'link',
|
'link',
|
||||||
{
|
{
|
||||||
rel: 'icon',
|
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',
|
label: 'On this page',
|
||||||
},
|
},
|
||||||
editLink: {
|
editLink: {
|
||||||
pattern: 'https://github.com/anghunk/cwd/blob/main/docs/:path',
|
pattern: 'https://github.com/anghunk/CWD/blob/main/docs/:path',
|
||||||
text: '在 GitHub 上编辑此页面',
|
text: '在 GitHub 上编辑此页面',
|
||||||
},
|
},
|
||||||
socialLinks: [{ icon: 'github', link: 'https://github.com/anghunk/cwd' }],
|
socialLinks: [{ icon: 'github', link: 'https://github.com/anghunk/CWD' }],
|
||||||
|
|
||||||
lastUpdated: true,
|
lastUpdated: true,
|
||||||
lastUpdatedText: '最后更新于',
|
lastUpdatedText: '最后更新于',
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ CWD 评论系统。
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 克隆项目
|
# 克隆项目
|
||||||
git clone https://github.com/anghunk/cwd
|
git clone https://github.com/anghunk/CWD
|
||||||
|
|
||||||
# API 项目
|
# API 项目
|
||||||
cd cwd-api
|
cd cwd-api
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ hero:
|
|||||||
name: CWD 评论系统
|
name: CWD 评论系统
|
||||||
tagline: 基于 Cloudflare Workers 与全球边缘网络的免服务器、极速安全、即插即用评论系统。
|
tagline: 基于 Cloudflare Workers 与全球边缘网络的免服务器、极速安全、即插即用评论系统。
|
||||||
image:
|
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: 文档封面
|
alt: 文档封面
|
||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
|
|||||||
Reference in New Issue
Block a user