Skip to content

Commit

Permalink
Update gen_md_header.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojing1987 authored Feb 2, 2024
1 parent a9bebc1 commit 3b47266
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/gen_md_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
for entry in entries:
# 调用 fields() 方法来获取字段的字典
fields = entry.fields()

print(fields)

# 获取 key 作为文件名
key = fields.get('key', entry.sys['id'])
Expand Down

0 comments on commit 3b47266

Please sign in to comment.