From a36a9b8ad191df26b8a4a86c8f8d5bc6d1e432a5 Mon Sep 17 00:00:00 2001 From: Sunshine40 Date: Thu, 13 Jun 2024 13:36:13 +0800 Subject: [PATCH] =?UTF-8?q?Html=20UI=20=E6=9C=AC=E5=9C=B0=E5=8C=96?= =?UTF-8?q?=E3=80=82=E8=8B=B1=E6=96=87=E7=89=88=E6=90=9C=E7=B4=A2=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20and=20=E9=80=BB=E8=BE=91=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 翻新 README.md * 添加中英文语言切换功能 * Html UI 本地化。英文版搜索改为 and 逻辑。 --- build.sh | 2 +- theme/index.hbs | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.sh b/build.sh index dec1115..ab18546 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ #!/bin/bash mdbook build "$@" -MDBOOK_OUTPUT__HTML__THEME=../theme MDBOOK_OUTPUT__HTML__ADDITIONAL_CSS='["../theme/nomicon.css", "../theme/language-picker.css"]' mdbook build en -d ../book/en \ No newline at end of file +MDBOOK_OUTPUT__HTML__THEME=../theme MDBOOK_OUTPUT__HTML__ADDITIONAL_CSS='["../theme/nomicon.css", "../theme/language-picker.css"]' MDBOOK_OUTPUT__HTML__SEARCH__USE_BOOLEAN_AND=true mdbook build en -d ../book/en \ No newline at end of file diff --git a/theme/index.hbs b/theme/index.hbs index 999c438..d30dc9c 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -146,10 +146,10 @@