Skip to content

Commit 9c74e00

Browse files
committed
fix(src): update config, add da-layer for scaling
1 parent 01cf08a commit 9c74e00

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

docs/ftso/scaling/2-getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The DA Layer provides API endpoints for querying offchain data from Flare protoc
6262
| Flare Testnet Coston2 | `https://ctn2-data-availability.flare.network/` |
6363
| Songbird Testnet Coston | `https://ctn-data-availability.flare.network/` |
6464

65-
All networks have the same API structure. For a full list of endpoints see [Data Availability API Reference](/fdc/reference/data-availability-api).
65+
All networks have the same API structure. For a full list of endpoints see [Data Availability API Reference](/ftso/scaling/solidity-reference/data-availability-api).
6666

6767
## Fetching anchor feed data
6868

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
sidebar_label: Data Availability API
3+
hide_title: true
4+
description: OpenAPI specification for Data Availability API.
5+
sidebar_position: 1
6+
---
7+
8+
import OpenApiDoc from "@site/src/components/OpenApiDoc";
9+
10+
<OpenApiDoc url="openapi/data-availability-api.yaml" />

docusaurus.config.ts

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,11 @@ const config: Config = {
99
tagline: "Official documentation for Flare.",
1010
favicon: "/img/favicon.ico",
1111

12-
// Set the production url of your site here
1312
url: "https://dev.flare.network",
14-
// Set the /<baseUrl>/ pathname under which your site is served
15-
// For GitHub pages deployment, it is often '/<projectName>/'
1613
baseUrl: "/",
1714

18-
// GitHub pages deployment config.
19-
// If you aren't using GitHub pages, you don't need these.
20-
organizationName: "flare-foundation", // Usually your GitHub org/user name.
21-
projectName: "developer-hub", // Usually your repo name.
15+
organizationName: "flare-foundation",
16+
projectName: "developer-hub",
2217

2318
onBrokenAnchors: "throw",
2419
onDuplicateRoutes: "throw",
@@ -31,12 +26,14 @@ const config: Config = {
3126
},
3227
},
3328

34-
// Even if you don't use internationalization, you can use this field to set
35-
// useful metadata like html lang. For example, if your site is Chinese, you
36-
// may want to replace "en" with "zh-Hans".
29+
trailingSlash: false,
30+
3731
i18n: {
3832
defaultLocale: "en",
3933
locales: ["en"],
34+
localeConfigs: {
35+
en: { htmlLang: "en" },
36+
},
4037
},
4138

4239
// Experimental features in preparation for Docusaurus v4 upgrade
@@ -354,7 +351,7 @@ const config: Config = {
354351
],
355352
],
356353
scripts: [
357-
// Optimized cookie script loading - defer until after page load
354+
// Defer cookie script loading until after page load
358355
{
359356
src: "/js/cookie-loader.js",
360357
defer: true,

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
"not op_mini all"
5959
],
6060
"development": [
61-
"last 3 chrome version",
62-
"last 3 firefox version",
63-
"last 5 safari version"
61+
"last 1 chrome version",
62+
"last 1 firefox version",
63+
"last 1 safari version"
6464
]
6565
},
6666
"engines": {

0 commit comments

Comments
 (0)