Skip to content

Docs redesign — week 2 chooser drafts + audit prefill#629

Closed
kiryl-xyz wants to merge 1 commit into
feat/docs-redesign-foundationsfrom
feat/decision-matrices
Closed

Docs redesign — week 2 chooser drafts + audit prefill#629
kiryl-xyz wants to merge 1 commit into
feat/docs-redesign-foundationsfrom
feat/decision-matrices

Conversation

@kiryl-xyz
Copy link
Copy Markdown
Contributor

Stacked on top of #628. Week 2 of the redesign plan.

What ships

Three chooser drafts (PRD §WS-3)

Matrix-first per the PRD: CardGroup of "Choose X if…" + comparison table + decision tree. None are in nav yet — they'll land in nav at the week-4 IA cutover. Review on the preview deploy:

Page Replaces Compares
`streaming/overview.mdx` `/data-streaming` Shred Delivery, LaserStream gRPC, Preprocessed, Yellowstone migration, Enhanced WSS, Standard WSS, Webhooks
`sending-transactions/chooser.mdx` top of `/sending-transactions/overview` Sender, Jito Bundles, sendTransaction (staked + unstaked), Priority Fee API
`chain-state/overview.mdx` `/getting-data` Standard RPC, indexed reads, DAS, Enhanced Transactions, Wallet API, ZK Compression

`mint validate` parses all three cleanly. Vale lint passes.

Audit prefill

Column Coverage
`diataxis_type` 280/371 (75%)
`action` 284/371 (77%)
Orphans annotated 33/37

Mechanical prefills: `api-reference/`, `rpc/guides/`, `faqs/*`, openapi-backed pages → Reference+Keep. PRD-mandated moves/merges populated with their `new_url`. The remaining 91 rows are mixed conceptual/landing pages that need human judgment — see SPIKE-NOTES.md for the list.

Orphan investigation

Detailed in SPIKE-NOTES.md and `audit.csv` `notes` column. Highlights:

  • 19 `api-reference/laserstream/websocket/*` pages are orphan reference pages — needs nav wiring or fold into a unified `api-reference/websockets/` after the WS-1 merge.
  • `event-listening.mdx` is a redundant landing page that overlaps with `/data-streaming` — merge.
  • `laserstream/websocket.mdx` documents what looks like Enhanced WebSockets — Eng to confirm before merging into `websockets/overview`.
  • `validator-reporting/*` (7 pages) is a private partner API — keep but hidden.

Notes for review

  • Committed with `--no-verify` per the redesign-branch workflow.
  • These pages are NOT yet in nav. Reviewers can reach them on the preview deploy at `/streaming/overview`, `/sending-transactions/chooser`, `/chain-state/overview`.
  • All internal links point to today's URLs (e.g., `/enhanced-websockets`); the week-4 IA PR will rewrite these to the unified targets (`/websockets/overview`, etc.).

🤖 Generated with Claude Code

Drafts the three decision-matrix landing pages from PRD §WS-3, fills in
75% of the audit Diátaxis/action columns mechanically, and annotates the
37 orphan pages with proposed dispositions.

Authored (chooser pages, not yet in nav)
- streaming/overview.mdx — replaces /data-streaming. Matrix-first per
  PRD: CardGroup of "Choose X" + 7-row "If you need…" table covering
  Shred Delivery, LaserStream gRPC, LaserStream Preprocessed, Yellowstone
  migration, Enhanced WSS, Standard WSS, and Webhooks. Followed by a
  decision tree and pricing-model summary.
- sending-transactions/chooser.mdx — destined to fold into
  sending-transactions/overview.mdx at week 4. Compares Sender, Jito
  Bundles, sendTransaction (staked + unstaked), and the Priority Fee
  API. Calls out backrun rebates as additive.
- chain-state/overview.mdx — replaces /getting-data. Compares Standard
  RPC, indexed reads, DAS, Enhanced Transactions, Wallet API, and
  ZK Compression. Includes a "Don't confuse these" section.

These render cleanly under `mint validate` (the 13 pre-existing warnings
in that command are unrelated zh/ OpenAPI schema + 2 missing-file
issues; not from this PR).

audit.csv prefill
- 280/371 pages (75%) now have a default `diataxis_type`.
- 284/371 (77%) have a default `action`.
- All `api-reference/*`, `rpc/guides/*`, `faqs/*`, and openapi-backed
  pages → Reference + Keep.
- All week-4 IA targets pre-populated with `new_url` (data-streaming →
  streaming/overview, grpc/* → laserstream/guides/*, enhanced-websockets/*
  → websockets/*, rpc/websocket/* → websockets/*, getting-data →
  chain-state/overview, quickstart → quickstart/nft).

Orphan investigation (37 pages annotated in audit.csv `notes`)
- AGENTS.mdx — keep, machine-readable index, intentionally not in nav.
- api-reference/common-error-codes — wire into nav.
- api-reference/laserstream/websocket/* (19 pages) — wire into nav under
  a new "LaserStream WebSocket" group, or fold into unified websockets/
  after WS-1.
- event-listening + event-listening/quickstart — merge into streaming/.
- laserstream/websocket — merge into websockets/overview (Eng to confirm
  it's the same as Enhanced WebSockets).
- rpc/http/get-accounts, rpc/http/get-transactions — delete; duplicate
  rpc/guides/*.
- validator-reporting/* (7 pages) — keep, hidden, partner-only.

Remaining 91 audit rows (mixed conceptual/landing pages) need human
review — see SPIKE-NOTES.md for the list.

Plan reference: ~/.claude/plans/users-kiryl-downloads-prd-plan-to-imple-cozy-badger.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant