refactor(config): 重构配置类以支持动态元数据字段
配置类 ThesisConfig 现在使用 metadata 字典直接透传 TOML 配置, 无需为每个变量单独声明字段。新增模板变量只需修改 TOML 文件, 无需修改 Python 代码。 BREAKING CHANGE: 配置文件结构发生改变,从单独字段改为统一的 metadata 节点。
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -20,3 +20,7 @@ wheels/
|
||||
*.docx
|
||||
*.doc
|
||||
*.txt
|
||||
|
||||
.vscode/
|
||||
.tmp/
|
||||
*.toml
|
||||
|
||||
Reference in New Issue
Block a user