Skip to content

Commit

Permalink
chore(submodules): move submodules, update api docs build and remove …
Browse files Browse the repository at this point in the history
…old ones
  • Loading branch information
HsiangNianian committed Sep 8, 2024
1 parent ed30adc commit 20713d4
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,30 @@ jobs:
- name: Remove API Doc
run: rm -rf docs/source/api

- name: Build API Doc
- name: Moving Submodule
run: |
mv DiceParser/src/oneroll OneRoll
mv GetPlayerCard/get_pc getPCCard
mv HydroRollCore/hrc HydroRollCore
mv TRPGNivis/nivis_python TRPGNivisSDK
- name: Build API Doc For HydroRoll
run: |
pdm run sphinx-apidoc -o docs/source/api hydro_roll -f -e --tocfile index
pdm run sphinx-apidoc -o docs/source/api getPCCard -f -e --tocfile index
pdm run sphinx-apidoc -o docs/source/api HydroRollCore -f -e --tocfile index
pdm run sphinx-apidoc -o docs/source/api TRPGNivisSDK -f -e --tocfile index
pdm run sphinx-apidoc -o docs/source/api OneRoll -f -e --tocfile index
shell: bash

- name: Remove Submodule
run: |
rm -rf OneRoll
rm -rf getPCCard
rm -rf HydroRollCore
rm -rf TRPGNivisSDK
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down

0 comments on commit 20713d4

Please sign in to comment.