From ad74d918169b5493a710398c50105a92a4e7ed97 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 8 Sep 2024 05:33:13 +0800 Subject: [PATCH] chore(deps): update Python and docs dependencies, adjust API build workflow --- .github/workflows/build-api.yml | 6 +++--- docs/requirements.txt | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 0512c44..b690949 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -1,4 +1,4 @@ -name: api build +name: Build API Doc on: push: @@ -8,7 +8,7 @@ on: inputs: reason: type: string - required: true + required: false description: 'The reason to manually trigger api doc build' jobs: @@ -32,7 +32,7 @@ jobs: run: pdm sync - name: Install dependencies - run: pdm install -dG docs + run: pdm install --group docs --dev --no-default - name: Remove API Doc run: rm -rf docs/source/api diff --git a/docs/requirements.txt b/docs/requirements.txt index 2abf83a..7d74be3 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ -furo>=2023.3.27 -sphinx-autobuild>=2021.3.14 -myst-parser>=0.18.1 -sphinx>=5.3.0 -tomli -sphinx_design -sphinx-intl>=2.1.0 +docutils>=0.20.1 +furo>=2024.5.6 +sphinx-autobuild>=2024.4.16 +myst-parser>=3.0.1 +sphinx>=7.3.7 +tomli>=2.0.1 +sphinx-intl>=2.2.0 \ No newline at end of file