mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-06-06 12:26:38 +00:00
👷 fix api docs build error
This commit is contained in:
parent
c037c7a196
commit
534119eaf0
6
.github/workflows/release-plugin-docs.yml
vendored
6
.github/workflows/release-plugin-docs.yml
vendored
@ -34,9 +34,13 @@ jobs:
|
|||||||
|
|
||||||
- uses: Gr1N/setup-poetry@v4
|
- uses: Gr1N/setup-poetry@v4
|
||||||
|
|
||||||
- name: Build Docs
|
- name: Install and build
|
||||||
run: |
|
run: |
|
||||||
|
poetry install -E all
|
||||||
|
poetry run sphinx-build -M markdown ./docs_build ./build
|
||||||
|
cp -r ./build/markdown/* ./website/docs/api/
|
||||||
yarn install
|
yarn install
|
||||||
|
yarn prettier
|
||||||
yarn build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist
|
yarn build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist
|
||||||
|
|
||||||
- name: Publish Package
|
- name: Publish Package
|
||||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
|||||||
- name: Archive Files
|
- name: Archive Files
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
|
yarn prettier
|
||||||
yarn archive $(poetry version -s)
|
yarn archive $(poetry version -s)
|
||||||
|
|
||||||
- name: Push Tag and Release to PyPI
|
- name: Push Tag and Release to PyPI
|
||||||
|
1
.github/workflows/website-deploy.yml
vendored
1
.github/workflows/website-deploy.yml
vendored
@ -51,6 +51,7 @@ jobs:
|
|||||||
poetry run sphinx-build -M markdown ./docs_build ./build
|
poetry run sphinx-build -M markdown ./docs_build ./build
|
||||||
cp -r ./build/markdown/* ./website/docs/api/
|
cp -r ./build/markdown/* ./website/docs/api/
|
||||||
yarn install
|
yarn install
|
||||||
|
yarn prettier
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
- name: Get Branch Name
|
- name: Get Branch Name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user