docs: 重构API文档结构并更新文档内容

- 将大型API文档拆分为多个分类子文档
- 更新文档内容,添加新的API接口说明
- 修复文档中的格式问题和错别字
- 添加反馈文档和Github链接
- 优化侧边栏结构,支持不同路径的独立配置
This commit is contained in:
anghunk
2026-01-22 10:38:33 +08:00
parent 2fa0e04508
commit 17c31d7a1b
16 changed files with 1451 additions and 1333 deletions

View File

@@ -12,6 +12,8 @@
**以下部署指令均在该目录下执行,不在根目录下**
fork 项目后,进入 `/cwd-api` 目录,执行以下命令安装依赖:
```
cd cwd-api
```

8
docs/guide/feedback.md Normal file
View File

@@ -0,0 +1,8 @@
# 反馈
在使用中遇到问题或有建议吗?请通过以下方式联系我们:
- [Github Isseus](https://github.com/anghunk/cwd/issues)
- 涉及到文档的问题,请直接在对应页面下进行评论留言!
我们会尽快回复您的反馈。感谢您的参与!

View File

@@ -1,7 +1,7 @@
> [!WARNING]
> ~~目前仍处于 Beta 测试阶段,欢迎反馈测试结果。~~
>
> 目前处于内测阶段,欢迎参与测试。
> 目前处于内测阶段,欢迎参与测试。基本功能已完成,后续会不断完善。
# Cloudflare Workers Discuss
@@ -11,14 +11,6 @@
数据存储在 Cloudflare D1 数据库中,通过 Worker 与数据库交互。
**评论端**
![](https://github.com/user-attachments/assets/6ac091d8-e349-4d40-9d68-485817f63236)
**后台管理**
![](https://github.com/user-attachments/assets/d2cd1d4d-f592-4ff5-9915-7ed0e2a0304b)
![](https://github.com/user-attachments/assets/6c3586d8-a111-4c35-a099-91d670b9c04b)
![](https://github.com/user-attachments/assets/97f35f06-a346-40ed-8ed4-24a9457bee33)
## 特性
- ⚡️ **极速响应**:基于 Cloudflare 全球边缘网络
@@ -30,6 +22,14 @@
- 📧 **邮件通知**:集成各大邮箱厂商(逐步接入),支持自定义通知模板
- 🔄 **评论迁移**:支持将其他评论系统的评论迁移到 CWD
**评论端**
![](https://github.com/user-attachments/assets/6ac091d8-e349-4d40-9d68-485817f63236)
**后台管理**
![](https://github.com/user-attachments/assets/d2cd1d4d-f592-4ff5-9915-7ed0e2a0304b)
![](https://github.com/user-attachments/assets/6c3586d8-a111-4c35-a099-91d670b9c04b)
![](https://github.com/user-attachments/assets/97f35f06-a346-40ed-8ed4-24a9457bee33)
## 前置要求
- Node.js 20+