Skip to content

Commit

Permalink
chore(workflow): update api build step
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian committed Feb 14, 2024
1 parent 4b64aa5 commit c7bda67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions iamai/bot.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c7bda67

Please sign in to comment.