Repository navigation
docs: restructure readmes and code comments - #76
Merged
Merged
Conversation
arihantbansal
force-pushed
the
ab/docs-redesign
branch
from
July 22, 2026 10:01
c9f0b79 to
30b6a15
Compare
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.
Summary
Replaces the verbose, repetitive v0.9.6-era READMEs with a layered structure: the root README owns everything shared (workflow, lifecycle, trust model, troubleshooting), per-example READMEs follow one fixed ~50-line skeleton, and deep material moves into module docs next to the code. Supersedes #70 and #66, whose content was reapplied and re-verified against current source.
Changes
//!module headers on circuits and programs (byte layouts documented where queue calls read accounts by offset); rustdoc trimmed of# Arguments/# Returnsboilerplate and narration comments; inline comments only at Arcium footguns (ArgBuilder order, byte offsets, sign-PDA bump)Argument::AccountAPI removed from voting README; wrong move-encoding comment in the RPS-vs-house test corrected (0/1/2, not 1/2/3); false PR docs: rewrite example readmes and add module docs #70 claim about in-circuit slot enforcement replaced with an honest limitationVerified:
cargo checkandcargo fmt --checkpass on all 8 examples;tsc --noEmitclean on edited tests; every README identifier grep-confirmed in its example's source.