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