From e656fa6a48452547a35a2ec90ac3e5f7c3250fa7 Mon Sep 17 00:00:00 2001 From: snowy Date: Mon, 19 Aug 2024 23:49:21 +0800 Subject: [PATCH] =?UTF-8?q?:rocket:=20=E6=B5=8B=E8=AF=95=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 54afb942..ca7d79ba 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -33,11 +33,15 @@ jobs: cd docs pnpm install - - name: Python生成API文档 + - name: 设置Python uses: actions/setup-python@v2 + with: + python-version: '3.10' + + + - name: 生成API markdown run: |- - python -m pip install pydantic~=2.8.3 - python liteyuki/mkdoc.py + python liteyuki/mkdoc.py - name: 构建文档