Skip to content

Commit

Permalink
integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Oct 2, 2024
1 parent 4bb0330 commit a374ad2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,25 @@ jobs:
- name: Build client/js docs
run: |
mkdir ../../docs-api
pnpm build # Required for integrations/
pnpm typedoc
mv docs/api ../../docs-api/sapphire-paratime
- name: Build integrations docs
working-directory: ../../integrations
working-directory: ./integrations
run: |
for i in */ ; do {
for i in */ ; do
pushd $i
pnpm typedoc --tsconfig tsconfig.build.json
pnpm build # Required for typedoc
if [ "$i" == "hardhat/" ]; then
# XXX: ExampleModule is not compilable, but is there for linting.
pnpm typedoc --tsconfig tsconfig.build.json
else
pnpm typedoc
fi
mv docs/api ../../docs-api/sapphire-$i
popd
}
done
- name: Deploy to api-reference branch
uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit a374ad2

Please sign in to comment.