docs: list Anchor v1 alongside Anchor v2 in the README example index - #136
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/) andAnchor v1 (
anchor-v1/), but left all 55 per-example rows below reading a bare⚓ Anchor, pointing only at the v2 copy. Somaincurrently introduces two namedAnchor 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:
README-only: 55 rows changed, nothing else in the tree.
Verification
⚓ Anchor v2links and 55⚓ Anchor v1links; no bare⚓ AnchorremainsREADME.mdresolves on diskgit diff --stat main..isREADME.mdaloneWhy 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 trapCLAUDE.md documents under "A merged PR's branch is dead". The
branch has been restarted from current
mainwith the commit cherry-picked on top, sothis PR contains only the README change.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BMDApPWRHM1StJwtyDSrEM
Generated by Claude Code