Skip to content

feat: migrate design pattern from my old blogs#76

Merged
Charliechen114514 merged 5 commits into
mainfrom
feat/migrate_design_pattern
Jun 22, 2026
Merged

feat: migrate design pattern from my old blogs#76
Charliechen114514 merged 5 commits into
mainfrom
feat/migrate_design_pattern

Conversation

@Charliechen114514

Copy link
Copy Markdown
Member

No description provided.

@Charliechen114514

Copy link
Copy Markdown
Member Author

这一次迁移的是笔者之前在CSDN上很久之前发布的设计模式的相关笔记,这里进行完整的迁移和完善补充道了这里,充实了第四章的内容。

…r.py

Content Quality CI 报 16 篇设计模式文章 tag 未知(构建器/原型/适配器/桥接/组合/装饰器/外观/享元/代理/命令/备忘录/访问者/迭代器/责任链/解释器/中介者 模式)。上轮只补了 validate_frontmatter.py 的 VALID_TAGS,漏了 check_quality.py 自带的同名白名单(注释写 Re-use 实际复制了一份)。补齐 check_quality.py,两套同步。本地 check_quality.py / validate_frontmatter.py / markdownlint 三道 0 error。
validate_frontmatter.py 与 check_quality.py 原本各维护一份 VALID_TAGS(check_quality 注释说 Re-use 实际复制了一份),补 tag 须两处同步,曾导致 Content Quality CI 挂。抽 scripts/tags.py 作单一数据源,两脚本都 from tags import VALID_TAGS,补 tag 以后只改 tags.py 一处。本地 validate_frontmatter + check_quality 两道 0 error。
@Charliechen114514 Charliechen114514 merged commit 5a5f787 into main Jun 22, 2026
6 checks passed
@Charliechen114514 Charliechen114514 deleted the feat/migrate_design_pattern branch June 22, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant