mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:26:18 +08:00
12 lines
240 B
Bash
12 lines
240 B
Bash
|
#! /usr/bin/env bash
|
||
|
|
||
|
# cd to the root of the project
|
||
|
cd "$(dirname "$0")/.."
|
||
|
|
||
|
poetry run nb-autodoc nonebot \
|
||
|
-s nonebot.plugins \
|
||
|
-u nonebot.internal \
|
||
|
-u nonebot.internal.*
|
||
|
cp -r ./build/nonebot/* ./website/docs/api/
|
||
|
yarn prettier
|