mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
✨ 重构文档构建流程,将 litedoc 命令移至 build-docs.sh 脚本中,并赋予执行权限
This commit is contained in:
parent
a8cc471f7b
commit
448758d40d
4
.github/workflows/docs-build.yml
vendored
4
.github/workflows/docs-build.yml
vendored
@ -40,8 +40,8 @@ jobs:
|
|||||||
- name: Setup API markdown
|
- name: Setup API markdown
|
||||||
run: |-
|
run: |-
|
||||||
python -m pip install litedoc
|
python -m pip install litedoc
|
||||||
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/
|
chmod +x build-docs.sh
|
||||||
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/
|
./build-docs.sh
|
||||||
|
|
||||||
- name: 安装 pnpm
|
- name: 安装 pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: pnpm/action-setup@v2
|
||||||
|
2
build-docs.sh
Executable file
2
build-docs.sh
Executable file
@ -0,0 +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/
|
Loading…
x
Reference in New Issue
Block a user