Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrokonrad committed Jan 29, 2025
1 parent 9ef7c75 commit 3631871
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
uses: actions/checkout@v2

- name: Use Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x

- name: Build
working-directory: ./docs
Expand Down
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ try {
type: "module",
main: "./esm/mod.js",
engines: {
node: ">=20",
node: ">=18",
},
},
postBuild: async () => {
Expand Down
5 changes: 1 addition & 4 deletions docs/docs/getting-started/choose-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,4 @@ const datum = await lucid.datumOf(scriptUtxo);

```js
const protocolParameters = await lucid.provider.getProtocolParameters();
```

[Provider API reference](https://deno.land/x/[email protected]/mod.ts?s=Provider)\
[Lucid API reference](https://deno.land/x/[email protected]/mod.ts?s=Lucid)
```
4 changes: 1 addition & 3 deletions docs/docs/getting-started/choose-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,4 @@ const utxos = await lucid.wallet.getUtxos();

```js
const delegation = await lucid.wallet.getDelegation();
```

[Wallet API reference](https://deno.land/x/[email protected]/mod.ts?s=Wallet)
```
6 changes: 1 addition & 5 deletions docs/docs/getting-started/create-stakepool.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,4 @@ const signedTx = await tx.sign()
.commit();

const txHash = await signedTx.submit();
```

[Tx API reference](https://deno.land/x/[email protected]/mod.ts?s=Tx)\
[TxComplete API reference](https://deno.land/x/[email protected]/mod.ts?s=TxComplete)\
[TxSigned API reference](https://deno.land/x/[email protected]/mod.ts?s=TxSigned)
```
6 changes: 1 addition & 5 deletions docs/docs/getting-started/delegate.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,4 @@ const tx = await lucid.newTx()
const signedTx = await tx.sign().commit();

const txHash = await signedTx.submit();
```

[Tx API reference](https://deno.land/x/[email protected]/mod.ts?s=Tx)\
[TxComplete API reference](https://deno.land/x/[email protected]/mod.ts?s=TxComplete)\
[TxSigned API reference](https://deno.land/x/[email protected]/mod.ts?s=TxSigned)
```
7 changes: 1 addition & 6 deletions docs/docs/getting-started/make-payments.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,4 @@ const tx = await lucid.newTx()
const signedTx = await tx.sign().commit();

const txHash = await signedTx.submit();
```

[Tx API reference](https://deno.land/x/[email protected]/mod.ts?s=Tx)\
[TxComplete API reference](https://deno.land/x/[email protected]/mod.ts?s=TxComplete)\
[TxSigned API reference](https://deno.land/x/[email protected]/mod.ts?s=TxSigned)\
[Data API reference](https://deno.land/x/[email protected]/mod.ts?s=Data)
```
7 changes: 1 addition & 6 deletions docs/docs/getting-started/mint-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,4 @@ const tx = await lucid
const signedTx = await tx.sign().commit();

const txHash = await signedTx.submit();
```

[Tx API reference](https://deno.land/x/[email protected]/mod.ts?s=Tx)\
[TxComplete API reference](https://deno.land/x/[email protected]/mod.ts?s=TxComplete)\
[TxSigned API reference](https://deno.land/x/[email protected]/mod.ts?s=TxSigned)\
[Utils API reference](https://deno.land/x/[email protected]/mod.ts?s=Utils)
```
7 changes: 1 addition & 6 deletions docs/docs/getting-started/smart-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,4 @@ const tx = await lucid
.newTx()
.readFrom([scriptUtxo])
.commit();
```

[Tx API reference](https://deno.land/x/[email protected]/mod.ts?s=Tx)\
[TxComplete API reference](https://deno.land/x/[email protected]/mod.ts?s=TxComplete)\
[TxSigned API reference](https://deno.land/x/[email protected]/mod.ts?s=TxSigned)\
[Utils API reference](https://deno.land/x/[email protected]/mod.ts?s=Utils)
```
4 changes: 1 addition & 3 deletions docs/docs/getting-started/test-emulate.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ stake addresses.

```js
emulator.distributeRewards(100000000n);
```

[Emulator Api reference](https://deno.land/x/[email protected]/mod.ts?s=Emulator)
```

0 comments on commit 3631871

Please sign in to comment.