Skip to content

Commit

Permalink
fix no language switch 修复了没有语言切换选项的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
KamijoToma authored and RevySR committed Dec 27, 2024
1 parent 79fad7b commit 1b85630
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
site_name: RevyOS Docs
repo_name: revyos/docs
repo_url: https://github.com/revyos/docs
default_language: zh-CN
default_language_only: true
theme:
name: material
features:
Expand All @@ -22,6 +20,7 @@ extra_javascript:
plugins:
- i18n:
default_language: zh
default_language_only: false
languages:
en:
name: English
Expand Down
4 changes: 4 additions & 0 deletions requirement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ charset-normalizer==3.2.0
click==8.1.6
colorama==0.4.6
ghp-import==2.1.0
gitdb==4.0.11
GitPython==3.1.41
idna==3.4
importlib-metadata==6.8.0
Jinja2==3.1.2
Expand All @@ -23,7 +25,9 @@ PyYAML==6.0.1
pyyaml_env_tag==0.1
regex==2023.8.8
requests==2.31.0
setuptools==69.0.3
six==1.16.0
smmap==5.0.1
urllib3==2.0.4
watchdog==3.0.0
zipp==3.16.2

0 comments on commit 1b85630

Please sign in to comment.