From 05c7a0c95baec1d4f0aab5e83522563ef8c94e49 Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Fri, 15 Nov 2024 15:49:02 -0300 Subject: [PATCH 1/3] fix: remove duplicates from ts sidebar --- docs/content/sidebars/ts-sdk.js | 200 +++++++++++++++----------------- 1 file changed, 92 insertions(+), 108 deletions(-) diff --git a/docs/content/sidebars/ts-sdk.js b/docs/content/sidebars/ts-sdk.js index 0db6843655c..3ce2111226e 100644 --- a/docs/content/sidebars/ts-sdk.js +++ b/docs/content/sidebars/ts-sdk.js @@ -6,135 +6,119 @@ import typedocSidebar from '../references/ts-sdk/api/typedoc-sidebar.cjs'; const references = [ { type: 'category', - label: 'IOTA TypeScript Documentation', + label: 'Typescript SDK', items: [ + 'references/ts-sdk/typescript/index', + 'references/ts-sdk/typescript/install', + 'references/ts-sdk/typescript/hello-iota', + 'references/ts-sdk/typescript/faucet', + 'references/ts-sdk/typescript/iota-client', + 'references/ts-sdk/typescript/graphql', { type: 'category', - label: 'Typescript SDK', + label: 'Transaction Building', items: [ - 'references/ts-sdk/typescript/index', - 'references/ts-sdk/typescript/install', - 'references/ts-sdk/typescript/hello-iota', - 'references/ts-sdk/typescript/faucet', - 'references/ts-sdk/typescript/iota-client', - 'references/ts-sdk/typescript/graphql', - { - type: 'category', - label: 'Transaction Building', - items: [ - 'references/ts-sdk/typescript/transaction-building/basics', - 'references/ts-sdk/typescript/transaction-building/gas', - 'references/ts-sdk/typescript/transaction-building/sponsored-transactions', - 'references/ts-sdk/typescript/transaction-building/offline', - ], - }, - { - type: 'category', - label: 'Cryptography', - items: [ - 'references/ts-sdk/typescript/cryptography/keypairs', - 'references/ts-sdk/typescript/cryptography/multisig', - ], - }, - 'references/ts-sdk/typescript/utils', - 'references/ts-sdk/typescript/bcs', - 'references/ts-sdk/typescript/executors', - 'references/ts-sdk/typescript/plugins', - { - type: 'category', - label: 'Owned Object Pool', - items: [ - 'references/ts-sdk/typescript/owned-object-pool/index', - 'references/ts-sdk/typescript/owned-object-pool/overview', - 'references/ts-sdk/typescript/owned-object-pool/local-development', - 'references/ts-sdk/typescript/owned-object-pool/custom-split-strategy', - 'references/ts-sdk/typescript/owned-object-pool/examples', - ], - }, + 'references/ts-sdk/typescript/transaction-building/basics', + 'references/ts-sdk/typescript/transaction-building/gas', + 'references/ts-sdk/typescript/transaction-building/sponsored-transactions', + 'references/ts-sdk/typescript/transaction-building/offline', ], }, { type: 'category', - label: 'dApp Kit', + label: 'Cryptography', items: [ - 'references/ts-sdk/dapp-kit/index', - 'references/ts-sdk/dapp-kit/create-dapp', - 'references/ts-sdk/dapp-kit/iota-client-provider', - 'references/ts-sdk/dapp-kit/rpc-hooks', - 'references/ts-sdk/dapp-kit/wallet-provider', - { - type: 'category', - label: 'Wallet Components', - items: [ - 'references/ts-sdk/dapp-kit/wallet-components/ConnectButton', - 'references/ts-sdk/dapp-kit/wallet-components/ConnectModal', - ], - }, - { - type: 'category', - label: 'Wallet Hooks', - items: [ - 'references/ts-sdk/dapp-kit/wallet-hooks/useWallets', - 'references/ts-sdk/dapp-kit/wallet-hooks/useAccounts', - 'references/ts-sdk/dapp-kit/wallet-hooks/useCurrentWallet', - 'references/ts-sdk/dapp-kit/wallet-hooks/useCurrentAccount', - 'references/ts-sdk/dapp-kit/wallet-hooks/useAutoConnectWallet', - 'references/ts-sdk/dapp-kit/wallet-hooks/useConnectWallet', - 'references/ts-sdk/dapp-kit/wallet-hooks/useDisconnectWallet', - 'references/ts-sdk/dapp-kit/wallet-hooks/useSwitchAccount', - 'references/ts-sdk/dapp-kit/wallet-hooks/useReportTransactionEffects', - 'references/ts-sdk/dapp-kit/wallet-hooks/useSignPersonalMessage', - 'references/ts-sdk/dapp-kit/wallet-hooks/useSignTransaction', - 'references/ts-sdk/dapp-kit/wallet-hooks/useSignAndExecuteTransaction', - ], - }, - 'references/ts-sdk/dapp-kit/themes', + 'references/ts-sdk/typescript/cryptography/keypairs', + 'references/ts-sdk/typescript/cryptography/multisig', + ], + }, + 'references/ts-sdk/typescript/utils', + 'references/ts-sdk/typescript/bcs', + 'references/ts-sdk/typescript/executors', + 'references/ts-sdk/typescript/plugins', + { + type: 'category', + label: 'Owned Object Pool', + items: [ + 'references/ts-sdk/typescript/owned-object-pool/index', + 'references/ts-sdk/typescript/owned-object-pool/overview', + 'references/ts-sdk/typescript/owned-object-pool/local-development', + 'references/ts-sdk/typescript/owned-object-pool/custom-split-strategy', + 'references/ts-sdk/typescript/owned-object-pool/examples', ], }, + ], + }, + { + type: 'category', + label: 'dApp Kit', + items: [ + 'references/ts-sdk/dapp-kit/index', + 'references/ts-sdk/dapp-kit/create-dapp', + 'references/ts-sdk/dapp-kit/iota-client-provider', + 'references/ts-sdk/dapp-kit/rpc-hooks', + 'references/ts-sdk/dapp-kit/wallet-provider', { type: 'category', - label: 'Kiosk SDK', + label: 'Wallet Components', items: [ - 'references/ts-sdk/kiosk/index', + 'references/ts-sdk/dapp-kit/wallet-components/ConnectButton', + 'references/ts-sdk/dapp-kit/wallet-components/ConnectModal', + ], + }, + { + type: 'category', + label: 'Wallet Hooks', + items: [ + 'references/ts-sdk/dapp-kit/wallet-hooks/useWallets', + 'references/ts-sdk/dapp-kit/wallet-hooks/useAccounts', + 'references/ts-sdk/dapp-kit/wallet-hooks/useCurrentWallet', + 'references/ts-sdk/dapp-kit/wallet-hooks/useCurrentAccount', + 'references/ts-sdk/dapp-kit/wallet-hooks/useAutoConnectWallet', + 'references/ts-sdk/dapp-kit/wallet-hooks/useConnectWallet', + 'references/ts-sdk/dapp-kit/wallet-hooks/useDisconnectWallet', + 'references/ts-sdk/dapp-kit/wallet-hooks/useSwitchAccount', + 'references/ts-sdk/dapp-kit/wallet-hooks/useReportTransactionEffects', + 'references/ts-sdk/dapp-kit/wallet-hooks/useSignPersonalMessage', + 'references/ts-sdk/dapp-kit/wallet-hooks/useSignTransaction', + 'references/ts-sdk/dapp-kit/wallet-hooks/useSignAndExecuteTransaction', + ], + }, + 'references/ts-sdk/dapp-kit/themes', + ], + }, + { + type: 'category', + label: 'Kiosk SDK', + items: [ + 'references/ts-sdk/kiosk/index', + { + type: 'category', + label: 'Kiosk Client', + items: [ + 'references/ts-sdk/kiosk/kiosk-client/introduction', + 'references/ts-sdk/kiosk/kiosk-client/querying', + { + type: 'category', + label: 'Kiosk Transactions', + items: [ + 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/kiosk-transaction', + 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/managing', + 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/purchasing', + 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/examples', + ], + }, { type: 'category', - label: 'Kiosk Client', + label: 'Transfer Policy Transactions', items: [ - 'references/ts-sdk/kiosk/kiosk-client/introduction', - 'references/ts-sdk/kiosk/kiosk-client/querying', - { - type: 'category', - label: 'Kiosk Transactions', - items: [ - 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/kiosk-transaction', - 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/managing', - 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/purchasing', - 'references/ts-sdk/kiosk/kiosk-client/kiosk-transaction/examples', - ], - }, - { - type: 'category', - label: 'Transfer Policy Transactions', - items: [ - 'references/ts-sdk/kiosk/kiosk-client/transfer-policy-transaction/introduction', - 'references/ts-sdk/kiosk/kiosk-client/transfer-policy-transaction/using-the-manager', - ], - }, + 'references/ts-sdk/kiosk/kiosk-client/transfer-policy-transaction/introduction', + 'references/ts-sdk/kiosk/kiosk-client/transfer-policy-transaction/using-the-manager', ], }, - 'references/ts-sdk/kiosk/advanced-examples', ], }, - 'references/ts-sdk/bcs', - { - type: 'category', - label: 'API', - link: { - type: 'doc', - id: 'references/ts-sdk/api/index', - }, - items: typedocSidebar, - }, + 'references/ts-sdk/kiosk/advanced-examples', ], }, 'references/ts-sdk/bcs', From 49f5f23294e4fb3f89e1b68c8c9264fc7c4fe4c8 Mon Sep 17 00:00:00 2001 From: Alexander Sporn Date: Sun, 17 Nov 2024 17:46:04 +0100 Subject: [PATCH 2/3] feat(docker): enable linux/arm64 builds --- .github/workflows/release_docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index b3d723d801b..746a57096d0 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -81,7 +81,7 @@ jobs: ssh: default context: . file: docker/iota-node/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta-node.outputs.tags }} push: true pull: true @@ -140,7 +140,7 @@ jobs: ssh: default context: . file: docker/iota-indexer/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta-indexer.outputs.tags }} push: true pull: true @@ -199,7 +199,7 @@ jobs: ssh: default context: . file: docker/iota-tools/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta-tools.outputs.tags }} push: true pull: true @@ -258,7 +258,7 @@ jobs: ssh: default context: . file: docker/iota-graphql-rpc/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta-tools.outputs.tags }} push: true pull: true From 39648293395701b96cac28c4ed6d85b1f9d2f6ca Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Sun, 17 Nov 2024 20:03:13 -0300 Subject: [PATCH 3/3] remove changes to release_docker --- .github/workflows/release_docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index 00d6c892db2..a05bdd30746 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -87,7 +87,7 @@ jobs: ssh: default context: . file: docker/iota-node/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 tags: ${{ steps.meta-node.outputs.tags }} push: true pull: true @@ -155,7 +155,7 @@ jobs: ssh: default context: . file: docker/iota-indexer/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 tags: ${{ steps.meta-indexer.outputs.tags }} push: true pull: true @@ -223,7 +223,7 @@ jobs: ssh: default context: . file: docker/iota-tools/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 tags: ${{ steps.meta-tools.outputs.tags }} push: true pull: true @@ -291,7 +291,7 @@ jobs: ssh: default context: . file: docker/iota-graphql-rpc/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 tags: ${{ steps.meta-tools.outputs.tags }} push: true pull: true