Skip to content

Commit 1f7af32

Browse files
committed
wrote docs for teh script
1 parent 10183e7 commit 1f7af32

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

notes/breadcrumbs.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Documentation Breadcrumbs Script
2+
3+
Quick guide on using our breadcrumbs automation script for the OP Stack documentation.
4+
5+
## What the Script Does
6+
7+
* Creates `.mdx` files for each folder (breadcrumb pages)
8+
* Populates Card components linking to contained files
9+
* Preserves existing descriptions that already
10+
* Maintains consistent navigation structure
11+
12+
## Using the Script
13+
14+
Breadcrumbs for the docs can be generated by running:
15+
16+
```bash
17+
pnpm create-breadcrumbs
18+
```
19+
20+
### What to Watch For
21+
22+
1. **Before Running**
23+
* Commit your current changes
24+
* Ensure you're in the docs root directory
25+
* Target folders should exist: `builders`, `chain`, `stack`, `connect`
26+
27+
2. **After Running**
28+
* Review generated `.mdx` files in each folder
29+
* Check updated descriptions
30+
* Verify Card components and links
31+
32+
## Common Issues
33+
34+
* ***Script fails**: Ensure you're in the root directory
35+
* **No files generated**: Check folder structure matches expected paths
36+
* **Unexpected content**: Review git diff before committing

words.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ MTHI
204204
MTLO
205205
MULT
206206
multiaddr
207-
breadcrumbs
208-
Multichain
209207
multichain
210208
multiclient
211209
multisigs

0 commit comments

Comments
 (0)