-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
162 changed files
with
4,467 additions
and
2,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Check Breadcrumbs | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- 'pages/**/*.mdx' | ||
- 'pages/**/*.md' | ||
|
||
jobs: | ||
check-breadcrumbs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: Install pnpm | ||
run: npm install -g pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Run breadcrumb check | ||
run: pnpm check-breadcrumbs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Documentation Breadcrumbs Script | ||
|
||
Quick guide on using our breadcrumbs automation script for the OP Stack documentation. | ||
|
||
## What the Script Does | ||
|
||
* Creates `.mdx` files for each folder (breadcrumb pages) | ||
* Populates Card components linking to contained files | ||
* Preserves existing descriptions that already | ||
* Maintains consistent navigation structure | ||
|
||
## Using the Script | ||
|
||
* Breadcrumbs for the docs can be generated by running: | ||
|
||
```bash | ||
pnpm breadcrumbs | ||
``` | ||
|
||
* To check files with missing breadcrumbs, run: | ||
|
||
```bash | ||
pnpm fix | ||
``` | ||
|
||
### What to Watch For | ||
|
||
1. **Before Running** | ||
* Commit your current changes | ||
* Ensure you're in the docs root directory | ||
* Target folders should exist: `builders`, `chain`, `stack`, `connect` | ||
|
||
2. **After Running** | ||
* Review generated `.mdx` files in each folder | ||
* Check updated descriptions, please update the description. | ||
* Verify Card components and links | ||
|
||
## Common Issues | ||
|
||
* ***Script fails**: Ensure you're in the root directory | ||
* **No files generated**: Check folder structure matches expected paths | ||
* **Unexpected content**: Review git diff before committing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Optimism | ||
OP Mainnet | ||
Ethereum | ||
OP Stack | ||
MetaMask | ||
SuperchainERC20 | ||
ZK | ||
Security Council | ||
Sequencer PBS | ||
Superchain Registry | ||
Retro Funding | ||
Alt-DA | ||
Teleportr | ||
Dev Console | ||
Granite | ||
Holocene | ||
Monitorism | ||
Kubernetes | ||
Fault Proof System | ||
Viem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: Builders | ||
lang: en-US | ||
description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on OP Mainnet. | ||
--- | ||
|
||
import { Card, Cards } from 'nextra/components' | ||
|
||
# Builders | ||
|
||
Welcome to the Builders section. Here you'll find resources and guides for developers, operators, and other stakeholders involved in building on OP Stack. Explore the categories below to find the information you need. | ||
|
||
<Cards> | ||
<Card title="Notices" href="/builders/notices" /> | ||
<Card title="App Developers" href="/builders/app-developers" /> | ||
<Card title="Chain Operators" href="/builders/chain-operators" /> | ||
<Card title="Node Operators" href="/builders/node-operators" /> | ||
<Card title="Wallets & CEXs" href="/builders/cex-wallet-developers" /> | ||
<Card title="Developer Tools" href="/builders/tools" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"notices": "Notices (README)", | ||
"app-developers": "App Developers", | ||
"chain-operators": "Chain Operators", | ||
"node-operators": "Node Operators", | ||
"app-developers": "App developers", | ||
"chain-operators": "Chain operators", | ||
"node-operators": "Node operators", | ||
"cex-wallet-developers": "Wallets & CEXs", | ||
"tools": "Developer Tools" | ||
"tools": "Developer tools" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: App Developers | ||
description: If you're a developer looking to build on OP Stack, you've come to the right place. In this area of the Optimism Docs you'll find everything you ... | ||
lang: en-US | ||
--- | ||
|
||
import { Card, Cards } from 'nextra/components' | ||
|
||
# App Developers | ||
|
||
If you're a developer looking to build on OP Mainnet, you've come to the right place. In this area of the Optimism Docs you'll find everything you ... | ||
|
||
<Cards> | ||
<Card title="Bridging" href="/builders/app-developers/bridging" /> | ||
|
||
<Card title="Contracts" href="/builders/app-developers/contracts" /> | ||
|
||
<Card title="App developer overview" href="/builders/app-developers/overview" /> | ||
|
||
<Card title="Superchain app quick start" href="/builders/app-developers/quick-start" /> | ||
|
||
<Card title="Tools" href="/builders/app-developers/tools" /> | ||
|
||
<Card title="Transactions" href="/builders/app-developers/transactions" /> | ||
|
||
<Card title="Tutorials" href="/builders/app-developers/tutorials" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"overview": "Overview", | ||
"quick-start": "Superchain App Quick Start", | ||
"quick-start": "Superchain app quick start", | ||
"tutorials": "Tutorials", | ||
"contracts": "Smart Contracts", | ||
"contracts": "Smart contracts", | ||
"transactions": "Transactions", | ||
"bridging": "Bridging", | ||
"tools": "App Tools" | ||
"tools": "App tools" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Bridging | ||
lang: en-US | ||
description: Learn about bridging basics, custom bridges, data transmission between L1 and L2, and using the standard bridge in OP Stack. | ||
--- | ||
|
||
import { Card, Cards } from 'nextra/components' | ||
|
||
# Bridging | ||
|
||
This section provides information on bridging basics, custom bridges, sending data between l1 and l2 and using the standard bridge. You'll find guide, overview to help you understand and work with these topics. | ||
|
||
<Cards> | ||
<Card title="Bridging basics" href="/builders/app-developers/bridging/basics" /> | ||
|
||
<Card title="Custom bridges" href="/builders/app-developers/bridging/custom-bridge" /> | ||
|
||
<Card title="Sending data between l1 and l2" href="/builders/app-developers/bridging/messaging" /> | ||
|
||
<Card title="Using the standard bridge" href="/builders/app-developers/bridging/standard-bridge" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"basics": "Basics of Bridging", | ||
"basics": "Basics of bridging", | ||
"standard-bridge": "The Standard Bridge", | ||
"custom-bridge": "Custom Token Bridges", | ||
"messaging": "Sending Data Between L1 and L2" | ||
"custom-bridge": "Custom token bridges", | ||
"messaging": "Sending data between L1 and L2" | ||
} |
Oops, something went wrong.