Commit 7fd5d10
committed
fix: generate SDK and Stylus sidebars before validating links in CI
The validate-sidebar-links workflow was failing because both sdk-sidebar.js
and stylus-by-example sidebar files are generated (gitignored) and didn't
exist in CI. The workflow now:
1. Initializes submodules (arbitrum-sdk, stylus-by-example)
2. Installs SDK dependencies
3. Syncs Stylus content to generate stylus-by-example sidebars
4. Generates SDK docs via TypeDoc to create sdk-sidebar.js
5. Validates sidebar links
This matches the Vercel production build flow and ensures all required
sidebar files exist before validation.
Changes:
- Enable recursive submodule checkout
- Add step to install SDK dependencies
- Add step to sync Stylus content
- Add step to generate SDK docs via TypeDoc1 parent dc5be67 commit 7fd5d10
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
51 | 64 | | |
0 commit comments