👷using nb-autodoc to generate api docs

This commit is contained in:
hemengyang
2022-01-14 19:58:22 +08:00
parent cc343c981f
commit a47b8c68c0
4 changed files with 46 additions and 3 deletions

View File

@ -25,8 +25,8 @@ jobs:
- name: Install and build
run: |
poetry run sphinx-build -M markdown ./docs_build ./build
cp -r ./build/markdown/* ./website/docs/api/
poetry run python ./docs_build/autodoc.py
cp -r ./build/nonebot/* ./website/docs/api/
yarn prettier
yarn build