diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.yml index b56a3639..f058d7b2 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -27,15 +27,15 @@ jobs: - name: Install dependencies run: npm ci - - name: Generate docs + - name: Generate API docs run: | npm run docs - name: Copy files run: | - # Specify the files or directories you want to copy - cp -r docs/* knowledge-base/developer-documentation/wallet-sdk/ - cp README.md knowledge-base/developer-documentation/wallet-sdk/README.md + # Sync docs and README to knowledgebase + rsync -avr --delete docs/ ./knowledge-base/credential-wallet/wallet-sdk/ + rsync -av README.md ./knowledge-base/credential-wallet/wallet-sdk/README.md - name: Get branch name id: get_branch diff --git a/docs/index.md b/docs/index.md index 0cbd74be..2b46b66a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,4 @@ # Truvera Wallet SDK Documentation -- [@docknetwork/wallet-sdk-core](./api/core.md) \ No newline at end of file +- [@docknetwork/wallet-sdk-core](./api/core.md) +- [@docknetwork/wallet-sdk-wasm](./api/wasm.md)