feat(docs): 优化文档解析工具并添加单元测试
- 重构 generateConfigCode 函数,简化代码生成逻辑 - 导出核心函数以支持单元测试 - 为储蓄产品添加顶层 category 属性 - 添加 parse-docs.test.js 单元测试(3个测试用例全部通过) - 优化 commit-msg hook 校验逻辑 - 更新 CHANGELOG.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Showing
6 changed files
with
90 additions
and
261 deletions
docs/to-parse/保险知识库.md
deleted
100644 → 0
This diff is collapsed. Click to expand it.
scripts/parse-docs.test.js
0 → 100644
-
Please register or login to post a comment