Skip to content

Commit e80ec48

Browse files
authored
Restore sdk (#537)
* Removing sections (#505) * delete: sdk section * delete: getting started section * delete: learn section * added community section * Fix redirects + improved dev FAQ (#508) * test server side redirect * test2 * fixed redirects w/o wildcards * moved network info to faq * now dev faq is dev home * added links to external getting started docs * add: sdk back again * updated browser lists * removed playwright library * readded playwright
1 parent 84c7ed7 commit e80ec48

Some content is hidden

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

55 files changed

+4932
-106
lines changed

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dev": "astro dev",
77
"start": "astro dev",
88
"build": "npm run setup; astro build",
9+
"build:vercel": "astro build",
910
"preview": "astro preview",
1011
"format": "prettier --write .",
1112
"linkcheck": "tsc scripts/linkcheck.ts && node scripts/linkcheck.js",

public/locales/en/translation.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,31 @@
141141
"community": {
142142
"community": "Community",
143143
"faq": "Community FAQ"
144+
},
145+
"sdk": {
146+
"overview": "Overview",
147+
"scrollSdk": "Scroll SDK Introduction",
148+
"faq": "Scroll SDK FAQ",
149+
"technicalStack": "Technical Stack",
150+
"stackOverview": "Stack Overview",
151+
"configuration": "Configuration",
152+
"services": "Services",
153+
"smartContracts": "Smart Contracts",
154+
"proofGeneration": "Proof Generation",
155+
"integrations": "Integrations",
156+
"guides": "Guides",
157+
"devnetDeployment": "Devnet Deployment",
158+
"productionDeployment": "Production Deployment",
159+
"digitalOcean": "Digital Ocean & ERC20 Gas Token Testnet",
160+
"customizingSdkComponents": "Customizing SDK Components",
161+
"awsDeployment": "AWS Deployment",
162+
"operation": "Operating a Chain",
163+
"contractsVerification": "Contracts Verification",
164+
"gasAndFees": "Gas & Fee Management",
165+
"monitoring": "Monitoring",
166+
"security": "Security and Recovery",
167+
"upgrades": "Upgrading",
168+
"troubleshooting": "Troubleshooting"
144169
}
145170
},
146171
"footer": {

src/assets/svgs/home/home-sdk.svg

Lines changed: 3 additions & 0 deletions
Loading

src/config/menu.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,24 @@ export const MENU: MenuItems = {
1111
{ text: "Developers", link: "/en/developers", section: "developers" },
1212
{ text: "Technology", link: "/en/technology", section: "technology" },
1313
{ text: "Community", link: "/en/community/faq", section: "community" },
14+
{ text: "SDK", link: "/en/sdk", section: "sdk" },
1415
],
1516
zh: [
1617
{ text: "开发者", link: "/zh/developers", section: "developers" },
1718
{ text: "技术", link: "/zh/technology", section: "technology" },
19+
{ text: "Community", link: "/en/community/faq", section: "community" },
20+
{ text: "SDK", link: "/en/sdk", section: "sdk" },
1821
],
1922
es: [
2023
{ text: "Desarrolladores", link: "/es/developers", section: "developers" },
2124
{ text: "Tecnología", link: "/es/technology", section: "technology" },
25+
{ text: "Community", link: "/en/community/faq", section: "community" },
26+
{ text: "SDK", link: "/en/sdk", section: "sdk" },
2227
],
2328
tr: [
2429
{ text: "Geliştiriciler", link: "/tr/developers", section: "developers" },
2530
{ text: "Teknoloji", link: "/tr/technology", section: "technology" },
31+
{ text: "Community", link: "/en/community/faq", section: "community" },
32+
{ text: "SDK", link: "/en/sdk", section: "sdk" },
2633
],
2734
}

src/config/sidebar.ts

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,103 @@ export const getSidebar = () => {
271271
],
272272
},
273273
],
274+
sdk: [
275+
{
276+
section: t("sidebar.sdk.overview"),
277+
contents: [
278+
{
279+
title: t("sidebar.sdk.scrollSdk"),
280+
url: "sdk/",
281+
},
282+
{
283+
title: t("sidebar.sdk.faq"),
284+
url: "sdk/sdk-faq",
285+
},
286+
],
287+
},
288+
{
289+
section: t("sidebar.sdk.technicalStack"),
290+
contents: [
291+
{
292+
title: t("sidebar.sdk.stackOverview"),
293+
url: formatUrl("sdk/technical-stack/"),
294+
},
295+
{
296+
title: t("sidebar.sdk.configuration"),
297+
url: formatUrl("sdk/technical-stack/configuration"),
298+
},
299+
{
300+
title: t("sidebar.sdk.services"),
301+
url: formatUrl("sdk/technical-stack/services"),
302+
},
303+
{
304+
title: t("sidebar.sdk.smartContracts"),
305+
url: formatUrl("sdk/technical-stack/contracts"),
306+
},
307+
{
308+
title: t("sidebar.sdk.proofGeneration"),
309+
url: formatUrl("sdk/technical-stack/proof-generation"),
310+
},
311+
// {
312+
// title: t("sidebar.sdk.integrations"),
313+
// url: formatUrl("sdk/technical-stack/integrations"),
314+
// },
315+
],
316+
},
317+
{
318+
section: t("sidebar.sdk.guides"),
319+
contents: [
320+
{
321+
title: t("sidebar.sdk.devnetDeployment"),
322+
url: formatUrl("sdk/guides/devnet-deployment"),
323+
},
324+
// {
325+
// title: t("sidebar.sdk.productionDeployment"),
326+
// url: formatUrl("sdk/guides/production-deployment"),
327+
// },
328+
{
329+
title: t("sidebar.sdk.digitalOcean"),
330+
url: formatUrl("sdk/guides/digital-ocean-alt-gas-token"),
331+
},
332+
{
333+
title: t("sidebar.sdk.awsDeployment"),
334+
url: formatUrl("sdk/guides/aws-deployment"),
335+
},
336+
{
337+
title: t("sidebar.sdk.customizingSdkComponents"),
338+
url: formatUrl("sdk/guides/customizing-sdk-components"),
339+
},
340+
],
341+
},
342+
{
343+
section: t("sidebar.sdk.operation"),
344+
contents: [
345+
{
346+
title: t("sidebar.sdk.contractsVerification"),
347+
url: formatUrl("sdk/operation/contracts-verification"),
348+
},
349+
{
350+
title: t("sidebar.sdk.gasAndFees"),
351+
url: formatUrl("sdk/operation/gas-and-fees"),
352+
},
353+
{
354+
title: t("sidebar.sdk.monitoring"),
355+
url: formatUrl("sdk/operation/monitoring"),
356+
},
357+
{
358+
title: t("sidebar.sdk.upgrades"),
359+
url: formatUrl("sdk/operation/upgrades"),
360+
},
361+
{
362+
title: t("sidebar.sdk.troubleshooting"),
363+
url: formatUrl("sdk/operation/troubleshooting"),
364+
},
365+
{
366+
title: t("sidebar.sdk.security"),
367+
url: formatUrl("sdk/operation/security-and-recovery"),
368+
},
369+
],
370+
},
371+
],
274372
}
275373
}
455 KB
Loading
391 KB
Loading
547 KB
Loading
49.3 KB
Loading

0 commit comments

Comments
 (0)