Skip to content

docs: fix broken links and spelling errors - #4102

Merged
jamie-osec merged 12 commits into
otter-sec:masterfrom
swaroop-osec:chore/docs-misc
May 26, 2026
Merged

docs: fix broken links and spelling errors#4102
jamie-osec merged 12 commits into
otter-sec:masterfrom
swaroop-osec:chore/docs-misc

Conversation

@swaroop-osec

@swaroop-osec swaroop-osec commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

Merged multiple PRs for spelling fixes and documentation updates.

Fixes #4064

Fixes #4086

@vercel

vercel Bot commented Dec 2, 2025

Copy link
Copy Markdown

@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 swaroop-osec added the documentation Improvements or additions to documentation label Dec 4, 2025
@jamie-osec

Copy link
Copy Markdown
Collaborator

@swaroop-osec Can you fix the conflicts?

@swaroop-osec

Copy link
Copy Markdown
Collaborator Author

@jamie-osec I've fixed conflicts

HusseinAdeiza and others added 2 commits May 26, 2026 15:47
- Fix 'cant' → 'can't'

⚠️ Note: Test comment changes only. No functional code modified.
@jamie-osec
jamie-osec merged commit 9f042cf into otter-sec:master May 26, 2026
99 checks passed
@jamie-osec jamie-osec added this to the v1.2.0 milestone Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

8 participants