docs: fix broken links and spelling errors - #4102
Merged
Merged
Conversation
…w Anchor documentation site
|
@swaroop-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
for the time being till the documentation isn't properly made we can use this.
Fixes otter-sec#4086 Fixes otter-sec#4093 This PR addresses incorrect import examples in both TypeScript and Rust client documentation that prevented the code from compiling. TypeScript Client Changes: - Updated Program constructor to use provider instead of { connection } - Added clarification that provider enables signing/sending transactions - Enhanced read-only alternative example description to explicitly state it does not support signing or sending transactions Rust Client Changes: - Import RpcClient directly from solana_rpc_client crate (anchor_client doesn't re-export solana_client) - Import Signer from solana_sdk::signer (re-exported by anchor_client) - Reorganized imports for clarity and consistency with anchor_client's own examples Impact: Users can now copy and use the example code without encountering compilation errors or runtime issues.
swaroop-osec
force-pushed
the
chore/docs-misc
branch
from
December 2, 2025 12:06
267ce61 to
58ff644
Compare
swaroop-osec
marked this pull request as ready for review
December 2, 2025 12:24
4 tasks
swaroop-osec
force-pushed
the
chore/docs-misc
branch
from
December 2, 2025 12:41
7cdb655 to
1ce4b34
Compare
Collaborator
|
@swaroop-osec Can you fix the conflicts? |
Collaborator
Author
|
@jamie-osec I've fixed conflicts |
- Fix 'cant' → 'can't'⚠️ Note: Test comment changes only. No functional code modified.
jamie-osec
approved these changes
May 26, 2026
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.
Merged multiple PRs for spelling fixes and documentation updates.
Fixes #4064
Fixes #4086