Skip to content

Commit cd22952

Browse files
vivekjain23piotrm50
authored andcommitted
fix(docs) : Fix navbar items UI (#4599)
* Fix navbar items UI
1 parent ec283de commit cd22952

File tree

450 files changed

+15710
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+15710
-104
lines changed

.changeset/dull-birds-remain.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@iota/create-dapp': patch
3+
'@iota/iota-sdk': patch
4+
'@iota/dapp-kit': patch
5+
'@iota/kiosk': patch
6+
---
7+
8+
Update documentation urls

apps/wallet-dashboard/components/Dialogs/Assets/views/DetailsView.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ export function DetailsView({ onClose, asset, onSend }: DetailsViewProps) {
4343
const { fileExtensionType, filePath } = useNFTBasicData(objectData);
4444

4545
function handleMoreAboutKiosk() {
46-
window.open('https://docs.iota.org/references/ts-sdk/kiosk/', '_blank');
46+
window.open('https://docs.iota.org/ts-sdk/kiosk/', '_blank');
4747
}
4848

4949
function handleMarketplace() {
5050
// TODO: https://github.com/iotaledger/iota/issues/4024
51-
window.open('https://docs.iota.org/references/ts-sdk/kiosk/', '_blank');
51+
window.open('https://docs.iota.org/ts-sdk/kiosk/', '_blank');
5252
}
5353

5454
return (

apps/wallet/src/ui/app/pages/home/nft-details/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ export function NFTDetailsPage() {
3333
const isPending = isLoading || isGuardLoading;
3434

3535
function handleMoreAboutKiosk() {
36-
window.open('https://docs.iota.org/references/ts-sdk/kiosk/', '_blank');
36+
window.open('https://docs.iota.org/ts-sdk/kiosk/', '_blank');
3737
}
3838

3939
function handleMarketplace() {
4040
// TODO: https://github.com/iotaledger/iota/issues/4024
41-
window.open('https://docs.iota.org/references/ts-sdk/kiosk/', '_blank');
41+
window.open('https://docs.iota.org/ts-sdk/kiosk/', '_blank');
4242
}
4343

4444
function handleSend() {

dapps/multisig-toolkit/src/routes/multisig-address.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default function MultiSigAddressGenerator() {
137137
<CardHeader>
138138
<CardTitle>IOTA MultiSig Address</CardTitle>
139139
<CardDescription>
140-
https://docs.iota.org/references/ts-sdk/typescript/cryptography/multisig
140+
https://docs.iota.org/ts-sdk/typescript/cryptography/multisig
141141
</CardDescription>
142142
</CardHeader>
143143
<CardContent>

docs/content/developer/dev-cheat-sheet.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Quick reference on best practices for IOTA Network developers.
3636

3737
| **Topic** | **Description** |
3838
|-|-|
39-
| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../references/ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. |
39+
| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. |
4040
| **Lower latency** | For lower latency, use [`executeTransactionBlock`](/iota-api-ref#iota_executetransactionblock) with `"showEffects": false` and `"showEvents": false` if your app only needs confirmation of a transaction without immediate access to its effects or events.|
4141
| **Local cache** | Apps should implement a local cache for frequently read data rather than over-fetching from the full node. |
4242
| **Transaction cache**| Whenever possible,use programmable transaction blocks to compose on-chain functionality instead of deploying new contracts, enabling batching and lowering gas fees. |

docs/content/developer/evm-to-move/tooling-apis.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Unlike with EVM, where open-source third parties create the most used tooling, t
3737

3838
### SDKs
3939

40-
IOTA Move comes with a convenient [Rust](../../references/rust-sdk.mdx) and [TypeScript SDK](../../references/ts-sdk/typescript/index.mdx) right out of the box as part of the IOTA Move core. Next to that, a dApp toolkit is also offered by default, which provides several React components to more easily integrate your IOTA Move contract interaction within your dApp. While TypeScript covers most dApp requirements for an SDK, there might not be an SDK available for your language of choice at the moment. However, You can use one of the APIs directly on a lower level.
40+
IOTA Move comes with a convenient [Rust](../../references/rust-sdk.mdx) and [TypeScript SDK](../../ts-sdk/typescript/index.mdx) right out of the box as part of the IOTA Move core. Next to that, a dApp toolkit is also offered by default, which provides several React components to more easily integrate your IOTA Move contract interaction within your dApp. While TypeScript covers most dApp requirements for an SDK, there might not be an SDK available for your language of choice at the moment. However, You can use one of the APIs directly on a lower level.
4141

4242
### Wallets
4343

docs/content/developer/getting-started/client-tssdk.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ yarn create @iota/dapp --template react-client-dapp
3434

3535
## What is the IOTA TypeScript SDK?
3636

37-
The [IOTA TypeScript SDK](../../references/ts-sdk/typescript/index.mdx) (`@iota/iota-sdk`) provides the essential
37+
The [IOTA TypeScript SDK](../../ts-sdk/typescript/index.mdx) (`@iota/iota-sdk`) provides the essential
3838
functionality needed to interact with the IOTA
3939
ecosystem from TypeScript. It's versatile enough to be used in any TypeScript or JavaScript project, including web apps,
4040
Node.js applications, or mobile apps developed with tools like React Native that support TypeScript.
4141

4242
## What is dApp Kit?
4343

44-
[dApp Kit](../../references/ts-sdk/dapp-kit/index.mdx). (`@iota/dapp-kit`) is a collection of React hooks, components,
44+
[dApp Kit](../../ts-sdk/dapp-kit/index.mdx). (`@iota/dapp-kit`) is a collection of React hooks, components,
4545
and utilities designed to simplify building
4646
decentralized applications (dApps) on the IOTA network.
4747

docs/content/developer/getting-started/iota-environment.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ IOTA nodes.
2929

3030
IOTA provides two official SDKs that you can use to interact with the IOTA network from your dApp:
3131

32-
* [Typescript SDK](../../references/ts-sdk/typescript/index.mdx)
32+
* [Typescript SDK](../../ts-sdk/typescript/index.mdx)
3333
* [Rust SDK](../../references/rust-sdk.mdx)
3434

3535
## Move IDEs and plugins

docs/content/developer/iota-101/move-overview/package-upgrades/custom-policies.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ you'll publish this package and then upgrade it to change the value emitted in t
546546
### Using the TypeScript SDK
547547
548548
To publish and upgrade the package using your custom policy,
549-
you'll need to use the [IOTA TypeScript SDK](../../../../references/ts-sdk/typescript/index.mdx).
549+
you'll need to use the [IOTA TypeScript SDK](../../../../ts-sdk/typescript/index.mdx).
550550
551551
#### 1. Set Up a Node.js Project
552552

docs/content/developer/iota-101/transactions/ptb/building-programmable-transaction-blocks-ts-sdk.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import questions from '/json/developer/iota-101/transactions/ptb/building-progra
77
# Build Programmable Transaction Blocks with TypeScript SDK
88

99
This guide illustrates how to build a [programmable transaction block (PTB)](programmable-transaction-blocks.mdx) on IOTA
10-
using the [TypeScript SDK](../../../../references/ts-sdk/typescript/install.mdx).
10+
using the [TypeScript SDK](../../../../ts-sdk/typescript/install.mdx).
1111

1212
This example starts by building a PTB to send IOTA tokens.
1313
To construct transactions, import the `Transaction` class and create a new instance:

docs/content/developer/iota-101/transactions/ptb/coin-management.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ making coin management a crucial step in transaction preparation.
2828

2929
## Using the IOTA SDKs
3030

31-
The IOTA SDKs for [TypeScript](../../../../references/ts-sdk/typescript/index.mdx) and [Rust](../../../../references/rust-sdk.mdx) handle coin management automatically,
31+
The IOTA SDKs for [TypeScript](../../../../ts-sdk/typescript/index.mdx) and [Rust](../../../../references/rust-sdk.mdx) handle coin management automatically,
3232
merging coins as needed and assuming sequential transaction execution.
3333
This automation simplifies the process for most use cases where high concurrency isn't a concern.
3434

docs/content/developer/iota-101/transactions/ptb/programmable-transaction-blocks-overview.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Learn about Programmable Transaction Blocks (PTBs) in IOTA and how
77

88
## Building PTBs with the TypeScript SDK
99

10-
To truly harness the capabilities of PTBs, practical experience is key. Utilizing tools like the [IOTA TypeScript SDK](../../../../references/ts-sdk/typescript/index.mdx) allows you to explore the power and flexibility that PTBs offer.
10+
To truly harness the capabilities of PTBs, practical experience is key. Utilizing tools like the [IOTA TypeScript SDK](../../../../ts-sdk/typescript/index.mdx) allows you to explore the power and flexibility that PTBs offer.
1111

1212
Dive deeper into this topic in [Building Programmable Transaction Blocks](building-programmable-transaction-blocks-ts-sdk).
1313

docs/content/developer/iota-101/transactions/sign-and-send-transactions.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Below are examples demonstrating how to sign and submit transactions using Rust,
5656

5757
<TabItem value="typescript" label="TypeScript">
5858

59-
There are several methods to create a key pair and derive its public key and Move address using the [Move TypeScript SDK](../../../references/ts-sdk/typescript/index.mdx).
59+
There are several methods to create a key pair and derive its public key and Move address using the [Move TypeScript SDK](../../../ts-sdk/typescript/index.mdx).
6060

6161
```tsx
6262
import { fromHEX } from '@iota/bcs';

docs/content/developer/iota-101/using-events.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ curl -X POST https://api.testnet.iota.cafe:443 \
8282
```
8383

8484
The TypeScript SDK provides a wrapper for the `iotax_queryEvents` method:
85-
[`client.queryEvents`](../../references/ts-sdk/api/client/classes/IotaClient#queryevents).
85+
[`client.queryEvents`](../../ts-sdk/api/client/classes/IotaClient#queryevents).
8686

8787
</TabItem>
8888
<TabItem value="rs" label="Rust">
@@ -144,7 +144,7 @@ You can use GraphQL to query events instead of JSON RPC. The following example q
144144

145145
:::tip
146146

147-
The [TypeScript SDK](../../references/ts-sdk/api/graphql/classes/IotaGraphQLClient) provides functionality to
147+
The [TypeScript SDK](../../ts-sdk/api/graphql/classes/IotaGraphQLClient) provides functionality to
148148
interact with the IOTA GraphQL service.
149149

150150
:::
@@ -184,7 +184,7 @@ async fn main() -> Result<()> {
184184
</TabItem>
185185
<TabItem value="ts" label="TypeScript">
186186

187-
To create the event subscription, you can use a basic Node.js app. You need the [IOTA TypeScript SDK](../../references/ts-sdk/typescript/index.mdx), so install the module using `npm install @iota/iota-sdk` at the root of your project. In your TypeScript code, import `JsonRpcProvider` and a connection from the library.
187+
To create the event subscription, you can use a basic Node.js app. You need the [IOTA TypeScript SDK](../../ts-sdk/typescript/index.mdx), so install the module using `npm install @iota/iota-sdk` at the root of your project. In your TypeScript code, import `JsonRpcProvider` and a connection from the library.
188188

189189
```ts
190190

docs/content/developer/standards/kiosk.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Practically, Kiosk is a part of the IOTA framework, and it is native to the syst
1616

1717
:::info
1818

19-
See the [Kiosk SDK documentation](../../references/ts-sdk/kiosk/index.mdx) for examples of working with Kiosk using TypeScript.
19+
See the [Kiosk SDK documentation](../../ts-sdk/kiosk/index.mdx) for examples of working with Kiosk using TypeScript.
2020

2121
:::
2222

docs/content/developer/standards/wallet-standard.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,6 @@ These values are all arrays containing the new or changed items. Consequently, e
327327

328328
### Implementation Example
329329

330-
IOTA offers a bare bones scaffold for React-based applications called `@iota/dapp-kit`. See the [dApp Kit documentation](../../references/ts-sdk/dapp-kit/index.mdx) for more information.
330+
IOTA offers a bare bones scaffold for React-based applications called `@iota/dapp-kit`. See the [dApp Kit documentation](../../ts-sdk/dapp-kit/index.mdx) for more information.
331331

332332
<Quiz questions={questions} />

docs/content/references/references.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Access IOTA Move functions on chain using the IOTA Move CLI.
4848
Official software development kits (SDKs) available for IOTA include the TypeScript SDK and Rust SDK.
4949

5050
<Cards>
51-
<Card title="IOTA TypeScript SDK" href="/references/ts-sdk/typescript">
51+
<Card title="IOTA TypeScript SDK" href="/ts-sdk/typescript">
5252
The IOTA TypeScript SDK has its own microsite. Click this box to go there.
5353
</Card>
5454
<Card title="IOTA Rust SDK" href="/references/rust-sdk"/>

docs/content/sidebars/developer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const developer = [
5555
{
5656
type: 'link',
5757
label: 'Typescript SDK',
58-
href: '/references/ts-sdk/typescript',
58+
href: '/ts-sdk/typescript',
5959
},
6060
],
6161
},

0 commit comments

Comments
 (0)