更新 litedoc 命令,添加文件标题选项;修改文档配置以禁用文件夹标题从索引文件获取

This commit is contained in:
远野千束(神羽) 2024-12-14 18:39:53 +08:00
parent 0658eb9624
commit 1e21f378c4
2 changed files with 3 additions and 4 deletions

View File

@ -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/
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/

View File

@ -10,8 +10,7 @@ const commonSidebarOptions = {
collapsed: true,
convertSameNameSubFileToGroupIndexPage: true,
useTitleFromFrontmatter: true,
useFolderTitleFromIndexFile: true,
useFolderTitleFromIndexFile: false,
useFolderLinkFromIndexFile: true,
includeFolderIndexFile: true,
rootGroupText: 'MARSHOAI',