优化摘要配置加载与文档输出兼容性,并补充本地配置忽略规则。

通过引入 config.yaml.example 和环境变量覆盖提升可配置性,同时统一 Word 默认中文字体并忽略本地 config.yaml,避免敏感信息误提交。

Made-with: Cursor
This commit is contained in:
Oo
2026-03-26 09:39:07 +08:00
parent dbe9ba3629
commit d257cbaed3
4 changed files with 86 additions and 11 deletions

14
.gitignore vendored
View File

@@ -43,3 +43,17 @@ output_post/
.DS_Store
Thumbs.db
# 测试与工具缓存
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/
# 本地环境变量
.env
.env.*
# 项目本地配置(示例文件应保留跟踪)
config.yaml