docs: 消除 Gitea 模棱两可 Unicode 告警(全角标点紧邻 ASCII 时改为半角)
依据 Gitea v1.27.3 modules/charset/escape_stream.go 的判定规则 (analyzeDetectResults:仅当左右相邻字符都不是非 ASCII 时才标记, 且 _common 表恒定生效),把说明文档中会被标记的全角标点 (,:;?!() 等)改为半角,并保证成对括号宽度一致。 中文语境中的全角标点(左右均为中文)保持原样,不动代码与契约语义。 同时删除临时探针目录 _probe/(仅用于确认 Gitea 判定规则)。
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# T-WEB-001 骨架 + 连接现有 MySQL
|
||||
|
||||
- **状态**:done
|
||||
- **状态**: done
|
||||
- **依赖**:无
|
||||
|
||||
## 目标
|
||||
@@ -29,7 +29,7 @@ web-server/src/db/data-source.ts
|
||||
| `web-server/src/app.module.ts` | 根模块,`TypeOrmModule.forRootAsync` 由 `AppConfig` 注入连接信息 |
|
||||
| `web-server/src/config/configuration.ts` | 类型化配置层,唯一读取 `process.env` 的位置 |
|
||||
| `web-server/src/config/config.module.ts` | 全局配置模块 |
|
||||
| `web-server/src/db/data-source.ts` | TypeORM DataSource(CLI + 运行期共用),`synchronize: false` |
|
||||
| `web-server/src/db/data-source.ts` | TypeORM DataSource(CLI + 运行期共用), `synchronize: false` |
|
||||
| `web-server/src/health/health.controller.ts` | `GET /health`,真实探测数据库连通性 |
|
||||
| `web-server/.env.example` | 环境变量样例 |
|
||||
|
||||
@@ -61,4 +61,4 @@ curl -s http://localhost:3000/health
|
||||
|
||||
## 结果
|
||||
|
||||
- 已连通 `<数据库主机>:3306/opendance`,`/health` 返回 200 且 `connected=true`。
|
||||
- 已连通 `<数据库主机>:3306/opendance`, `/health` 返回 200 且 `connected=true`。
|
||||
|
||||
Reference in New Issue
Block a user