Skip to content

docs: list Anchor v1 alongside Anchor v2 in the README example index - #136

Merged
mikemaccana merged 1 commit into
mainfrom
claude/solana-anchor-v1-v2-structure-x62v8i
Aug 24, 2026
Merged

docs: list Anchor v1 alongside Anchor v2 in the README example index#136
mikemaccana merged 1 commit into
mainfrom
claude/solana-anchor-v1-v2-structure-x62v8i

Conversation

@mikemaccana

Copy link
Copy Markdown
Collaborator

Follow-up to #135, which is merged. This is the one piece that did not make it in.

The problem

#135 renamed the README framework list to define Anchor v2 (anchor/) and
Anchor v1 (anchor-v1/), but left all 55 per-example rows below reading a bare
⚓ Anchor, pointing only at the v2 copy. So main currently introduces two named
Anchor frameworks and then indexes one of them — and there is no route from the index
to any anchor-v1/ directory except guessing the path.

The change

Every example row now carries both:

[⚓ Anchor v2](./finance/escrow/anchor) [⚓ Anchor v1](./finance/escrow/anchor-v1) [💫 Quasar](./finance/escrow/quasar) [🦀 Native](./finance/escrow/native)

README-only: 55 rows changed, nothing else in the tree.

Verification

  • 55 ⚓ Anchor v2 links and 55 ⚓ Anchor v1 links; no bare ⚓ Anchor remains
  • all 55 examples have both directories, so no row is half-populated
  • every relative link in README.md resolves on disk
  • git diff --stat main.. is README.md alone

Why this is a separate PR

The commit was originally pushed to the #135 branch a minute after that PR merged, so
it landed on a closed PR and never reached main — the exact trap
CLAUDE.md documents under "A merged PR's branch is dead". The
branch has been restarted from current main with the commit cherry-picked on top, so
this PR contains only the README change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMDApPWRHM1StJwtyDSrEM


Generated by Claude Code

The framework list defines "Anchor v2" and "Anchor v1" and says which directory
each lives in, but all 55 per-example rows below it still read a bare
"⚓ Anchor" pointing only at the v2 copy. A reader met two named frameworks and
then an index that acknowledged one of them, with no route to the v1 examples
except guessing the path.

Every row now carries both:

    [⚓ Anchor v2](./finance/escrow/anchor) [⚓ Anchor v1](./finance/escrow/anchor-v1) ...

All 55 examples have both directories, so no row is left half-populated, and
every relative link in the file resolves on disk.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMDApPWRHM1StJwtyDSrEM
@mikemaccana
mikemaccana merged commit eb49bcc into main Aug 24, 2026
32 checks passed
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