fix: update stale magicblock-engine-examples links#74
Conversation
…uide The anchor-counter example was restructured to counter/anchor in the magicblock-engine-examples repo; this page (and its cn/jp/ko translations) still pointed at the old path.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
WalkthroughUpdated Anchor Counter source-code links in the English, Chinese, Japanese, and Korean guides to use the reorganized ChangesAnchor documentation link updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@cn/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx`:
- Line 230: The link text is stale and no longer matches the updated
destination, so update the visible repository path in the affected markdown
content to match the href. Fix the anchor.mdx copy near the Anchor/Ephemeral
Rollup description so the displayed text aligns with the current
`counter/anchor/app` target instead of the old `anchor-counter/app` path.
In `@jp/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx`:
- Line 230: The link text is stale in the docs and no longer matches the updated
href target. Update the visible repository path in this anchor sentence so it
matches the current destination used by the markdown link, keeping the wording
in sync with the link referenced in the Ephemeral Rollup guide.
In `@ko/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx`:
- Line 230: The link text is stale and no longer matches the updated href in the
Ephemeral Rollup guide. Update the visible repository path text in the affected
markdown so it matches the current target used by the `anchor`-related link,
keeping the displayed path consistent with the `MagicBlock SDK` example
reference.
In `@pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx`:
- Line 231: The link text is stale in the Anchor guide: the displayed repository
path should match the updated href. Update the Markdown link in the affected
paragraph so the visible text and the target both reference counter/anchor/app,
keeping the existing link structure intact in anchor.mdx.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: e0b8666c-2326-44cc-9cff-698a35819544
📒 Files selected for processing (4)
cn/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdxjp/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdxko/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdxpages/ephemeral-rollups-ers/how-to-guide/anchor.mdx
|
|
||
| React 客户端是一个简单的界面,让你可以与 Anchor 程序进行交互。 | ||
| 它使用 Anchor 绑定与程序通信,并通过 MagicBlock SDK 与 Ephemeral Rollup 会话交互。源代码与程序放在一起,位于 [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/anchor-counter/app)。 | ||
| 它使用 Anchor 绑定与程序通信,并通过 MagicBlock SDK 与 Ephemeral Rollup 会话交互。源代码与程序放在一起,位于 [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/counter/anchor/app)。 |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Sync the visible repo path text.
The href now points to counter/anchor/app, but the displayed link text still says anchor-counter/app. That leaves stale path text in the docs.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@cn/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx` at line 230, The link
text is stale and no longer matches the updated destination, so update the
visible repository path in the affected markdown content to match the href. Fix
the anchor.mdx copy near the Anchor/Ephemeral Rollup description so the
displayed text aligns with the current `counter/anchor/app` target instead of
the old `anchor-counter/app` path.
|
|
||
| React クライアントは Anchor プログラムと対話するためのシンプルなインターフェースです。 | ||
| Anchor バインディングを使ってプログラムと通信し、MagicBlock SDK で Ephemeral Rollup セッションとやり取りします。ソースはプログラムと同じ場所、[`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/anchor-counter/app) にあります。 | ||
| Anchor バインディングを使ってプログラムと通信し、MagicBlock SDK で Ephemeral Rollup セッションとやり取りします。ソースはプログラムと同じ場所、[`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/counter/anchor/app) にあります。 |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Sync the visible repo path text.
The href now points to counter/anchor/app, but the displayed link text still says anchor-counter/app. That leaves stale path text in the docs.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@jp/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx` at line 230, The link
text is stale in the docs and no longer matches the updated href target. Update
the visible repository path in this anchor sentence so it matches the current
destination used by the markdown link, keeping the wording in sync with the link
referenced in the Ephemeral Rollup guide.
|
|
||
| React 클라이언트는 Anchor 프로그램과 상호작용할 수 있게 해주는 간단한 인터페이스입니다. | ||
| Anchor 바인딩을 사용해 프로그램과 통신하고, MagicBlock SDK로 Ephemeral Rollup 세션과 상호작용합니다. 소스는 프로그램과 같은 위치인 [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/anchor-counter/app)에 있습니다. | ||
| Anchor 바인딩을 사용해 프로그램과 통신하고, MagicBlock SDK로 Ephemeral Rollup 세션과 상호작용합니다. 소스는 프로그램과 같은 위치인 [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/counter/anchor/app)에 있습니다. |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Sync the visible repo path text.
The href now points to counter/anchor/app, but the displayed link text still says anchor-counter/app. That leaves stale path text in the docs.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@ko/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx` at line 230, The link
text is stale and no longer matches the updated href in the Ephemeral Rollup
guide. Update the visible repository path text in the affected markdown so it
matches the current target used by the `anchor`-related link, keeping the
displayed path consistent with the `MagicBlock SDK` example reference.
|
|
||
| The React client is a simple interface that allows you to interact with the Anchor program. | ||
| It uses the Anchor bindings to interact with the program and the MagicBlock SDK to interact with the Ephemeral Rollup session. Source lives alongside the program at [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/anchor-counter/app). | ||
| It uses the Anchor bindings to interact with the program and the MagicBlock SDK to interact with the Ephemeral Rollup session. Source lives alongside the program at [`anchor-counter/app`](https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/counter/anchor/app). |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Sync the visible repo path text.
The href now points to counter/anchor/app, but the displayed link text still says anchor-counter/app. That leaves stale path text in the docs.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx` at line 231, The link
text is stale in the Anchor guide: the displayed repository path should match
the updated href. Update the Markdown link in the affected paragraph so the
visible text and the target both reference counter/anchor/app, keeping the
existing link structure intact in anchor.mdx.
Fixes some broken links to the counter example
Summary by CodeRabbit