Skip to content

Commit de55120

Browse files
committed
fix: 修复 mkdocs.yml 中 emoji 配置的 YAML 格式
- 使用 git statuspython/name 语法正确引用 Python 对象 - 修复 emoji_index 和 emoji_generator 的缩进 - 确保 MkDocs 构建不会因 YAML 解析错误而失败
1 parent cd91f21 commit de55120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ markdown_extensions:
6464
- admonition
6565
- pymdownx.details
6666
- pymdownx.emoji:
67-
emoji_index: "material.extensions.emoji.twemoji"
68-
emoji_generator: "material.extensions.emoji.to_svg"
67+
emoji_index: !!python/name:material.extensions.emoji.twemoji
68+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
6969
- attr_list
7070
- md_in_html
7171
- tables

0 commit comments

Comments
 (0)