Skip to content

Commit dc92482

Browse files
committed
updated breadcrumbs
1 parent 149c30b commit dc92482

File tree

11 files changed

+21
-30
lines changed

11 files changed

+21
-30
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
---
22
title: Interop
3-
description: Documentation covering Cross Chain Message, Explainer, Superchain Erc20, Supersim, Transfer Superchainerc20 in the Interop section of the OP Stack ecosystem.
3+
description: Documentation covering Cross Chain Message, Explainer, Message Passing, Op Supervisor, Superchain Erc20, Superchain Weth, Supersim, Transfer Superchainerc20 in the Interop section of the OP Stack ecosystem.
44
lang: en-US
55
---
66

77
import { Card, Cards } from 'nextra/components'
88

99
# Interop
1010

11-
Documentation covering Cross Chain Message, Explainer, Superchain Erc20, Supersim, Transfer Superchainerc20 in the Interop section of the OP Stack ecosystem.
11+
Documentation covering Cross Chain Message, Explainer, Message Passing, Op Supervisor, Superchain Erc20, Superchain Weth, Supersim, Transfer Superchainerc20 in the Interop section of the OP Stack ecosystem.
1212

1313
<Cards>
1414
<Card title="Anatomy of a cross-chain message" href="/stack/interop/cross-chain-message" />
1515
<Card title="Interoperability explainer" href="/stack/interop/explainer" />
16+
<Card title="Interop message passing overview" href="/stack/interop/message-passing" />
17+
<Card title="OP Supervisor" href="/stack/interop/op-supervisor" />
1618
<Card title="SuperchainERC20" href="/stack/interop/superchain-erc20" />
19+
<Card title="SuperchainWETH (Interoperable ETH)" href="/stack/interop/superchain-weth" />
1720
<Card title="Supersim multichain development environment" href="/stack/interop/supersim" />
1821
<Card title="How to transfer a SuperchainERC20" href="/stack/interop/transfer-superchainERC20" />
1922
</Cards>
File renamed without changes.
File renamed without changes.

pages/stack/security.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
22
title: Security
3-
description: This section provides information on op stack security faqs and pausing the bridge.
3+
description: Documentation covering Faq, Pause in the Security section of the OP Stack ecosystem.
44
lang: en-US
55
---
66

77
import { Card, Cards } from 'nextra/components'
88

99
# Security
1010

11-
This section provides information on op stack security faqs and pausing the bridge.
11+
Documentation covering Faq, Pause in the Security section of the OP Stack ecosystem.
1212

1313
<Cards>
14-
<Card title="Op stack security faqs" href="/stack/security/faq" />
15-
14+
<Card title="OP Stack security FAQs" href="/stack/security/faq" />
1615
<Card title="Pausing the bridge" href="/stack/security/pause" />
17-
</Cards>
16+
</Cards>

pages/stack/security/security.mdx

Lines changed: 0 additions & 16 deletions
This file was deleted.

pages/stack/transactions.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ import { Card, Cards } from 'nextra/components'
88

99
# Transactions
1010

11-
This section provides information on . You'll find reference to help you understand and work with these topics.
11+
This section provides information on transactions fees.
1212

1313
<Cards>
14-
<Card title="Transaction fees on op mainnet" href="/stack/transactions/fees" />
15-
</Cards>
14+
<Card title="Transaction fees" href="/stack/transactions/fees" />
15+
<Card title="Transaction flow" href="/stack/transactions/transaction-flow" />
16+
<Card title="Deposit flow" href="/stack/transactions/deposit-flow" />
17+
<Card title="Withdrawal flow" href="/stack/transactions/withdrawal-flow" />
18+
<Card title="Forced transaction" href="/stack/transactions/forced-transaction" />
19+
<Card title="Cross domain transaction" href="/stack/transactions/cross-domain" />
20+
</Cards>

utils/breadcrumbs.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ async function checkDirectory(dirPath: string): Promise<void> {
4848
entry.name !== `${currentDir}.mdx`) {
4949

5050
const pageName = entry.name.replace(/\.(md|mdx)$/, '');
51-
const relativePath = `/stack/${path.relative(rootDir, dirPath)}/${pageName}`.replace(/\\/g, '/');
51+
// Dynamically construct the path relative to the pages directory
52+
const relativePath = '/' + path.relative(rootDir, path.join(dirPath, pageName))
53+
.replace(/\\/g, '/');
5254

5355
if (!referencedPages.includes(relativePath)) {
5456
const humanReadableName = pageName.split('-')

0 commit comments

Comments
 (0)