mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-18 09:25:46 +08:00
bbd13c04cc
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
12 lines
240 B
Bash
Executable File
12 lines
240 B
Bash
Executable File
#! /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
|