Skip to content

fix: update stale magicblock-engine-examples links#74

Open
Dodecahedr0x wants to merge 1 commit into
mainfrom
dode/check-links
Open

fix: update stale magicblock-engine-examples links#74
Dodecahedr0x wants to merge 1 commit into
mainfrom
dode/check-links

Conversation

@Dodecahedr0x

@Dodecahedr0x Dodecahedr0x commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Fixes some broken links to the counter example

Summary by CodeRabbit

  • Documentation
    • Updated guide links and source-path references to match the new repository structure.
    • Clarified where to find the Anchor Counter program and related React client source in the documentation.
    • Applied the same link updates across all localized versions of the guide.

…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.
@mintlify

mintlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
magicblock-42 🟢 Ready View Preview Jul 9, 2026, 9:52 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Updated Anchor Counter source-code links in the English, Chinese, Japanese, and Korean guides to use the reorganized counter/anchor and counter/anchor/app repository paths.

Changes

Anchor documentation link updates

Layer / File(s) Summary
Localized repository path references
pages/.../anchor.mdx, cn/.../anchor.mdx, jp/.../anchor.mdx, ko/.../anchor.mdx
Updated Anchor program and React client links from anchor-counter to counter/anchor paths across all four locales.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested reviewers: jonasXchen

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: updating stale magicblock-engine-examples links.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dode/check-links

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 38f1f9d and e974228.

📒 Files selected for processing (4)
  • cn/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx
  • jp/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx
  • ko/pages/ephemeral-rollups-ers/how-to-guide/anchor.mdx
  • pages/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)。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 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) にあります。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 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)에 있습니다.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 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).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants