From 1fa5a4b07f71f566ad637c865d5607ef862a6c94 Mon Sep 17 00:00:00 2001 From: yangrudan <1549029765@qq.com> Date: Mon, 5 Jan 2026 14:13:39 +0800 Subject: [PATCH 1/3] fix: plugins.i18n.language requires a formatted dictionary, not a list. --- .comate/memory.json | 1 + docs/mkdocs.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .comate/memory.json diff --git a/.comate/memory.json b/.comate/memory.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/.comate/memory.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 5e81628..b6b6fac 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -68,13 +68,14 @@ plugins: fallback_to_default: true reconfigure_material: true reconfigure_search: true + default_language: zh languages: - - locale: en + en: default: true name: English build: true site_name: "Probing Documentation" - - locale: zh + zh: name: 中文 build: true site_name: "Probing 文档" From 5376e2a29d53f313217819aaf0c29e10058887ee Mon Sep 17 00:00:00 2001 From: yangrudan <1549029765@qq.com> Date: Mon, 5 Jan 2026 14:14:46 +0800 Subject: [PATCH 2/3] enhance: add the mkdocs-i18n plugin --- docs/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index 6d4373e..e2aa14c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -8,3 +8,4 @@ mkdocs-static-i18n>=1.0.0 mkdocstrings>=0.24.0 mkdocstrings-python>=1.7.0 jieba>=0.42.1 +mkdocs-i18n From 0c4828459bb660431a70fb41059c80cec37c3c2d Mon Sep 17 00:00:00 2001 From: yangrudan <1549029765@qq.com> Date: Mon, 5 Jan 2026 14:17:28 +0800 Subject: [PATCH 3/3] chore: clean dir --- .comate/memory.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .comate/memory.json diff --git a/.comate/memory.json b/.comate/memory.json deleted file mode 100644 index 0637a08..0000000 --- a/.comate/memory.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file