diff --git a/mkdocs.yml b/mkdocs.yml index 31a7fe03..8f4571e6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -107,13 +107,15 @@ plugins: exclude: - assets/* - i18n: - default_language: en + fallback_to_default: true languages: - en: - name: English - build: false - zh: - name: 简体中文 + - name: English + build: true + default: true + locale: en + - name: 简体中文 + build: true + locale: zh material_alternate: true nav_translations: zh: diff --git a/requirements.txt b/requirements.txt index b9c71ff4..6d9009d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -mkdocs-material==9.1.0 -mkdocs==1.4.2 +mkdocs-material==9.5.19 +mkdocs==1.6.0 # Python Markdown Extensions -pygments==2.14 -pymdown-extensions==9.10 +pygments==2.17.2 +pymdown-extensions==10.8.1 # MkDocs Plugins -mkdocs-exclude-search==0.6.5 -mkdocs-git-revision-date-localized-plugin==1.2.0 -mkdocs-static-i18n==0.56 +mkdocs-exclude-search==0.6.6 +mkdocs-git-revision-date-localized-plugin==1.2.4 +mkdocs-static-i18n==1.2.2