From c7bda6707669d21141f0af88a7dadfffa4b3783e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E5=BE=8B=E7=BA=AF?= Date: Wed, 14 Feb 2024 18:09:21 +0800 Subject: [PATCH] chore(workflow): update api build step --- .github/workflows/build-api.yml | 11 +++++------ iamai/bot.py | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 05d9c69e..94efc22a 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -27,18 +27,17 @@ jobs: - name: Remove API Doc run: rm -rf docs/source/pages/api - # - name: copy credits - # run: cp credits.md docs/source/pages/credits.md + - name: Build API Doc run: | - cd docs - make api build - # pdm run sphinx-apidoc -o docs/source/pages/api -f -e --tocfile index + # cd docs + # make api build + pdm run sphinx-apidoc -o docs/source/pages/api iamai packages -f -e --tocfile index shell: bash env: iamai_DEV: "1" - - name: Commit CHANGELOG.md + - name: Commit uses: stefanzweifel/git-auto-commit-action@v5 with: branch: master diff --git a/iamai/bot.py b/iamai/bot.py index d420bcf6..27934f9e 100644 --- a/iamai/bot.py +++ b/iamai/bot.py @@ -1,6 +1,6 @@ -"""iamai ``Bot`` Module +"""iamai Bot Module -The basic module of iamai, each iamai robot is a ``Bot`` instance. +The basic module of iamai, each iamai robot is a ``Bot()`` instance. """ import asyncio