Skip to content

Commit 029dda8

Browse files
committed
fix(general): cleanup
1 parent 1739968 commit 029dda8

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

docs/fdc/guides/foundry/json-api.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ unlisted: true
99
---
1010

1111
:::danger
12+
1213
Since May 2025 this guide is considered deprecated.
1314
The `JsonApi` attestation type has been update to a new version, `Web2Json`.
1415
You can find the updated version of this guide [here](/fdc/guides/foundry/web-2-json).
16+
1517
:::
1618

1719
The `JsonApi` attestation type enables data collection from an arbitrary Web2 source.
@@ -350,6 +352,7 @@ function parseAttestationRequest(
350352

351353
<details>
352354
<summary>Understanding the `abiEncodedRequest`.</summary>
355+
353356
If everything went right, the `abiEncodedRequest` should look something like this (minus the line breaks - we split it after the `0x` symbol and then after every 64 characters (32 bytes), for the sake of clarity).
354357

355358
```
@@ -602,7 +605,7 @@ console.log("url: %s\n", url);
602605

603606
Parsing the returned data requires the definition of an auxiliary `struct`.
604607

605-
{/* <!-- TODO rename after renaming --> */}
608+
{/* TODO rename after renaming */}
606609

607610
```solidity title="scrip/fdcExample/Base.s.sol"
608611
struct ParsableProof {

docs/fdc/guides/foundry/payment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ console.log("url: %s\n", url);
552552

553553
Parsing the returned data requires the definition of an auxiliary `struct`.
554554

555-
{/* <!-- TODO rename after renaming --> */}
555+
{/* TODO rename after renaming */}
556556

557557
```solidity title="scrip/fdcExample/Base.s.sol"
558558
struct ParsableProof {

docs/fdc/guides/foundry/web-2-json.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ console.log("url: %s\n", url);
660660

661661
Parsing the returned data requires the definition of an auxiliary `struct`.
662662

663-
{/* <!-- TODO rename after renaming --> */}
663+
{/* TODO rename after renaming */}
664664

665665
```solidity title="scrip/fdcExample/Base.s.sol"
666666
struct ParsableProof {

docs/fdc/guides/hardhat/json-api.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ unlisted: true
99
---
1010

1111
:::danger
12+
1213
Since May 2025 this guide is considered deprecated.
1314
The `JsonApi` attestation type has been update to a new version, `Web2Json`.
1415
You can find the updated version of this guide [here](/fdc/guides/hardhat/web-2-json).
16+
1517
:::
1618

1719
The `JsonApi` attestation type enables data collection from an arbitrary Web2 source.
@@ -224,6 +226,7 @@ async function prepareAttestationRequest(
224226

225227
<details>
226228
<summary>Understanding the `abiEncodedRequest`.</summary>
229+
227230
If everything went right, the `abiEncodedRequest` should look something like this (minus the line breaks - we split it after the `0x` symbol and then after every 64 characters (32 bytes), for the sake of clarity).
228231

229232
```

docs/fdc/guides/hardhat/payment.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ async function prepareAttestationRequest(
207207

208208
<details>
209209
<summary>Understanding the `abiEncodedRequest`.</summary>
210+
210211
If everything went right, the `abiEncodedRequest` should look something like this (minus the line breaks - we split it after the `0x` symbol and then after every 64 characters (32 bytes), for the sake of clarity).
211212

212213
```
@@ -239,6 +240,7 @@ We will submit the validated request to the blockchain using deployed official F
239240
To streamline the process of accessing these, the [Flare smart contracts periphery package](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts) is shipped with the `ContractRegistry` library.
240241

241242
The `ContractRegistry` library allows us to
243+
242244
{/* TODO contract registry */}
243245

244246
We define a `Helpers` contract that will give us access to the following contracts:

docusaurus.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ const config: Config = {
8585
content: "S7ko-mhGTnZdYIIAcKUa-IsjtF8x-0wvleX2uDUg0NU",
8686
},
8787
},
88+
{
89+
tagName: "link",
90+
attributes: {
91+
rel: "preload",
92+
href: "/fonts/Satoshi/Satoshi-Variable.woff2",
93+
as: "font",
94+
type: "font/woff2",
95+
crossorigin: "anonymous",
96+
},
97+
},
8898
],
8999
docs: {
90100
sidebar: {
@@ -191,7 +201,7 @@ const config: Config = {
191201
items: [
192202
{
193203
label: "Flare Portal",
194-
href: "http://portal.flare.network/",
204+
href: "https://portal.flare.network/",
195205
},
196206
{
197207
label: "Governance Proposals",

0 commit comments

Comments
 (0)