From 1e21f378c42795d29917f8052de95b85d1e63a0b Mon Sep 17 00:00:00 2001 From: Snowykami Date: Sat, 14 Dec 2024 18:39:53 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=20litedoc=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=80=89=E9=A1=B9=EF=BC=9B=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=85=8D=E7=BD=AE=E4=BB=A5=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E6=A0=87=E9=A2=98=E4=BB=8E=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=E6=96=87=E4=BB=B6=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-docs.sh | 4 ++-- docs/.vitepress/config/common.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build-docs.sh b/build-docs.sh index 938463ab..8c84d1fa 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -1,2 +1,2 @@ -litedoc nonebot_plugin_marshoai -o docs/zh/dev/api -l zh-Hans -cd class -fd func -md func -vd var -bu https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/tree/main/nonebot_plugin_marshoai/ -litedoc nonebot_plugin_marshoai -o docs/en/dev/api -l en -cd class -fd func -md func -vd var -bu https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/tree/main/nonebot_plugin_marshoai/ \ No newline at end of file +litedoc nonebot_plugin_marshoai -o docs/zh/dev/api -l zh-Hans -cd class -fd func -md func -vd var -f title=%filetitle% -bu https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/tree/main/nonebot_plugin_marshoai/ +litedoc nonebot_plugin_marshoai -o docs/en/dev/api -l en -cd class -fd func -md func -vd var -f title=%filetitle% -bu https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/tree/main/nonebot_plugin_marshoai/ \ No newline at end of file diff --git a/docs/.vitepress/config/common.ts b/docs/.vitepress/config/common.ts index 1b1bdbbc..372af041 100644 --- a/docs/.vitepress/config/common.ts +++ b/docs/.vitepress/config/common.ts @@ -10,8 +10,7 @@ const commonSidebarOptions = { collapsed: true, convertSameNameSubFileToGroupIndexPage: true, useTitleFromFrontmatter: true, - - useFolderTitleFromIndexFile: true, + useFolderTitleFromIndexFile: false, useFolderLinkFromIndexFile: true, includeFolderIndexFile: true, rootGroupText: 'MARSHOAI',