feat(zh): add Chinese translations in zh/ directory

Add Chinese (Simplified) translations for all documentation, organized
under a dedicated zh/ directory that mirrors the English folder structure.

Co-authored-by: tanqingkuang <tanqingkuang@users.noreply.github.com>

Translations originally contributed by @tanqingkuang in #45.
Restructured from *-CN.md suffix pattern into zh/ directory to prevent
the EPUB builder (scripts/build_epub.py collect_folder_files) from
picking up Chinese files via glob("*.md") inside module folders.
This commit is contained in:
Luong NGUYEN
2026-04-06 23:08:54 +02:00
committed by GitHub
parent 100c45eef2
commit 89e89d4aa3
100 changed files with 20487 additions and 1 deletions
@@ -0,0 +1,15 @@
---
name: 生成 API 文档
description: 从源代码生成完整的 API 文档
---
# API 文档生成器
生成完整的 API 文档:
1. 扫描 API 端点
2. 提取函数签名和 JSDoc
3. 按模块 / 端点组织内容
4. 创建带示例的 Markdown
5. 包含请求 / 响应 schema
6. 添加错误文档
@@ -0,0 +1,15 @@
---
name: 生成 README
description: 创建或更新项目 README
---
# README 生成器
生成完整的 README:
1. 项目概览与简介
2. 安装说明
3. 使用示例
4. API 文档链接
5. 贡献指南
6. 许可证信息
@@ -0,0 +1,14 @@
---
name: 同步文档
description: 将文档与代码变更保持同步
---
# 文档同步
同步文档与代码库:
1. 检测代码变更
2. 找出过时文档
3. 更新受影响的文档
4. 验证示例是否仍然可用
5. 更新版本号
@@ -0,0 +1,14 @@
---
name: 校验文档
description: 校验文档的完整性与准确性
---
# 文档校验
校验文档质量:
1. 检查是否有损坏链接
2. 验证代码示例
3. 确保内容完整
4. 检查格式
5. 对照实际代码进行校验