Skip to content

Commit

Permalink
fix: locale at root won't be supported by RSS plugin in the next ve…
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Mar 5, 2024
1 parent 3224959 commit a9e26ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ repo_url: https://github.com/YDX-2147483647/summaries
repo_name: YDX-2147483647/summaries
edit_uri: "blob/main/docs/"

locale: zh-CN
# `locale` will be a warning, but used in RSS.
# https://github.com/mkdocs/mkdocs/pull/2299

theme:
name: material
palette:
Expand All @@ -31,6 +27,10 @@ theme:
toggle:
icon: material/brightness-4
name: 自动设置亮暗
# TODO: There is no way to tell territory code to RSS plugin now.
# https://github.com/Guts/mkdocs-rss-plugin/issues/176
# We should change to `zh_CN` when Material theme switches to locale.
# https://github.com/squidfunk/mkdocs-material/discussions/6453
language: zh
custom_dir: overrides
features:
Expand Down

0 comments on commit a9e26ff

Please sign in to comment.