Skip to content

Commit 39bb7e0

Browse files
authored
Merge pull request scroll-tech#166 from scroll-tech/isabellewei/running-a-node
Public documentation for running a Scroll node
2 parents e942c19 + 1454a2f commit 39bb7e0

File tree

5 files changed

+384
-4
lines changed

5 files changed

+384
-4
lines changed

public/locales/en/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
"guides": "Guides",
9797
"contractDeploymentTutorial": "Contract Deployment Tutorial",
9898
"crossChainInteraction": "Scroll Messenger Cross-chain Interaction",
99+
"runningNode": "Running a Scroll Node",
99100
"bridgingERC20TokenThroughCustomGateway": "Bridge an ERC20 through the Custom Gateway",
100101
"bridgingERC721NftThroughCustomGateway": "Bridging ERC721 NFT through Custom Gateway",
101102
"bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway",

src/components/Aside.astro

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type Props = {
88
title?: string
99
}
1010
11-
const { type = "note", title = type } = Astro.props as Props
11+
const { type = "note", title } = Astro.props as Props
1212
1313
// SVG icon paths based on GitHub Octicons
1414
const icons = {
@@ -26,9 +26,13 @@ const icons = {
2626
</span>
2727
</div>
2828
<section class="asideContent">
29-
<p class="title heading-100" aria-hidden="true">
30-
{title}
31-
</p>
29+
{
30+
title && (
31+
<p class="title heading-100" aria-hidden="true">
32+
{title}
33+
</p>
34+
)
35+
}
3236
<slot />
3337
</section>
3438
</aside>

src/config/sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ export const getSidebar = () => {
149149
title: t("sidebar.developers.bridgingERC20TokenThroughCustomGateway"),
150150
url: formatUrl("developers/guides/bridge-erc20-through-the-custom-gateway"),
151151
},
152+
{
153+
title: t("sidebar.developers.runningNode"),
154+
url: formatUrl("developers/guides/running-a-scroll-node"),
155+
},
152156
// {
153157
// title: t("sidebar.developers.bridgingERC721NftThroughCustomGateway"),
154158
// url: formatUrl("developers/guides/"),

src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ date: Last Modified
44
title: "Bridge ERC20 through the Custom Gateway"
55
lang: "en"
66
permalink: "developers/guides/bridge-erc20-through-the-custom-gateway"
7+
whatsnext: { "Running a Scroll Node": "/developers/guides/running-a-scroll-node" }
78
excerpt: "This guide will walk through how to use Scroll's bridge for ERC20s that need custom functionality using the Custom Gateway."
89
---
910

0 commit comments

Comments
 (0)