mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 05:49:02 +08:00
15 lines
324 B
YAML
15 lines
324 B
YAML
name: Build API Doc
|
|
description: Build API Doc
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- run: |
|
|
poetry run nb-autodoc nonebot \
|
|
-s nonebot.plugins \
|
|
-u nonebot.internal \
|
|
-u nonebot.internal.*
|
|
cp -r ./build/nonebot/* ./website/docs/api/
|
|
yarn prettier
|
|
shell: bash
|