From 20713d4d80df6fd6f82175e01e0c828f725645e9 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 8 Sep 2024 10:40:48 +0800 Subject: [PATCH] chore(submodules): move submodules, update api docs build and remove old ones --- .github/workflows/build-api.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 306e8f6..4e9c1c3 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -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: