Skip to content

[docs-agent] Add HyperCore private-preview docs (hidden) - #1488

Merged
SahilAujla merged 5 commits into
mainfrom
docs/hypercore-private-preview
Jul 31, 2026
Merged

[docs-agent] Add HyperCore private-preview docs (hidden)#1488
SahilAujla merged 5 commits into
mainfrom
docs/hypercore-private-preview

Conversation

@alchemy-bot

Copy link
Copy Markdown
Contributor

Summary

Adds the HyperCore private-preview documentation package supplied by @abdulmanan-creator via the public overlay repo abdulmanan-creator/alchemy-hypercore-docs. The overlay was designed to drop directly into alchemyplatform/docs, and content/docs.yml.patch applies cleanly with patch -p1.

Scope of the drop:

  • HyperCore Data API section (Data tab): overview, getting started, networks and endpoints, REST reference (backed by new src/openapi/hypercore/hypercore.yaml), historical data, concepts, guides.
  • HyperCore WebSocket streams under the existing websockets section: overview, connection lifecycle, replay and recovery, plus 24 individual stream pages.
  • HyperCore gRPC section: overview + 7 stream pages.
  • HyperCore Chain API section (Chain tab, under Hyperliquid): overview, getting started, networks and endpoints, concepts, JSON-RPC (backed by new src/openrpc/chains/hypercore-chain/hypercore-chain.yaml), guides.
  • Shared preview-notice*.mdx snippets referenced by the pages.

Preview posture

Every nav entry landed in this PR carries hidden: true (71 new nav entries, 71 hidden: true flags). None of this content is discoverable through sidebar or search until we explicitly unhide. Author-provided direct links will be needed to reach it once the preview deploy is up.

Author constraints honored

Per the request in the Slack thread:

  1. Every new nav entry keeps hidden: true. No entries were unhidden or moved.
  2. The chain OpenRPC spec (src/openrpc/chains/hypercore-chain/hypercore-chain.yaml) defines its methods inline rather than via a _components group. Left as-is — the file generates and validates cleanly.
  3. Hosts, auth, retention, limits, and gRPC message definitions marked "pending confirmation" in the copy are left exactly as-is.

Local checks

Run against this branch on top of main:

  • pnpm run generate:rest — passes (79 upstream warnings unchanged)
  • pnpm run generate:rpc — passes (content/api-specs/chains/hypercore-chain.json generated)
  • pnpm run validate:restWoohoo! Your API description is valid.
  • pnpm run validate:rpcSuccessfully validated chains OpenRPC specs
  • pnpm run validate:docs-ymlSuccessfully validated content/docs.yml
  • pnpm run lint — same pre-existing Prettier failure in scripts/link-check-slack.ts that Abdul flagged; unrelated to this PR.

lychee link-check is likely to report 404s on the new per-method Daikon-generated pages (/docs/chains/.../<method> and /docs/reference/hypercore-*) until a post-launch Daikon run materializes them. Everything's hidden so end users are not affected — happy to add narrow lychee.toml excludes if reviewers want to keep CI clean.

Note for reviewers

pnpm run lint surfaces 22 warnings (0 errors) in the new files — mostly remark-lint-unordered-list-marker-style (- vs * bullets) and remark-lint-no-undefined-references from bracketed-index notation in table cells (e.g. levels[][]). All are warnings, not errors, so lint still passes at the exit-code level except for the pre-existing scripts/link-check-slack.ts issue. Per the author's request I have not modified the copy; happy to sweep as a follow-up if you prefer.

Linear

DOCS-167 — https://linear.app/alchemyapi/issue/DOCS-167/add-hypercore-private-preview-docs-hidden-overlay-from-abdulmanan

Requested by

@abdulmanan-creator (via Slack thread)

Apply the docs-repo-overlay package from abdulmanan-creator/alchemy-hypercore-docs. Every nav entry stays hidden: true; inline OpenRPC methods and pending-confirmation placeholders are preserved as-is per the author's request.

Refs DOCS-167

Requested-by: @abdulmanan-creator
@alchemy-bot
alchemy-bot requested a review from a team as a code owner July 29, 2026 21:14
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jul 31, 2026, 7:33 PM

Per @dslovinsky review: remove 67 redundant hidden: true lines from HyperCore nav entries, keeping the flag only on the four net-new top-level sections (Subscription API Endpoints, gRPC, Chain API, Data API). Fern inherits hidden: true down the tree. Also swap - to * unordered-list markers in the three WebSocket pages flagged by remark-lint-unordered-list-marker-style.

Refs DOCS-167

Requested-by: @abdulmanan-creator
Per @SahilAujla review: escape [ in table-cell field paths (levels[] etc.) on bbo.mdx and l2-book.mdx to clear remark-lint-no-undefined-references (8 warnings). Rerun prettier on scripts/link-check-slack.ts to clear the pre-existing formatting failure that made pnpm run lint exit non-zero. After this commit pnpm run lint reports 0 errors; the 6 remaining warnings are pre-existing on main and unrelated to this PR.

Refs DOCS-167

Requested-by: @abdulmanan-creator
…block rendering

Fern's docs-site returns HTTP 500 on OpenRPC method pages when the spec has no servers array. All other chain OpenRPC specs in the repo have at least one server URL; hypercore-chain.yaml was the only one without and was breaking every hl_* method page (e.g. hl-batch-clearinghouse-states, hl-get-block, etc). Mirror the same Provisional base URL placeholder that the REST OpenAPI spec (src/openapi/hypercore/hypercore.yaml) already uses; the confirmed host can be swapped in later without any structural change.

Refs DOCS-167

Requested-by: @abdulmanan-creator
… slugs, absolute links, expanded content

Applies the regenerated overlay from abdulmanan-creator/alchemy-hypercore-docs (docs-repo-overlay/):

* Terminology sweep: checkpoint -> cursor (194 occurrences). Page renamed timestamps-checkpoints-and-replay.mdx -> timestamps-cursors-and-replay.mdx.
* Explicit slugs added (19), so URLs are hypercore, hypercore-grpc, l2-book, l2-book-diff, l4-book-updates, stream-l2-book, stream-l4-book-updates, hypercore-and-hyperevm, markets-assets-and-dexes, stream-an-l2-order-book, active-asset-context, etc. instead of auto-generated hyper-core-g-rpc / l-2-book slugs.
* 60 markdown links and 5 card links converted from relative .mdx paths to absolute /docs/... URLs to fix 404s.
* Data API overview rebuilt as a hub with surface cards and a need-to-surface table.
* Content expansion on block structure, StreamBlocks, gRPC overview, and historical data.
* Maturity caveats added on the L4 pages, all-candles, and funding.
* Prior two fixes are already mirrored in the overlay: JSON-RPC servers block and escaped brackets in the BBO and L2 field tables.
* docs.yml patch re-applied; hidden: true trimmed back down to the four net-new top-level sections (Subscription API Endpoints, gRPC, Chain API, Data API) after the patch reintroduced them per-page.
* Re-swept 8 remaining '-' unordered list markers to '*' in l2-book.mdx, l2-book-diff.mdx, l4-book-updates.mdx.

Left as-is per author constraints: inline OpenRPC methods, and the pending-confirmation placeholders on hosts, auth, retention, limits, and gRPC message stubs.

Local checks all green: generate:rpc, generate:rest, validate:rpc, validate:rest, validate:docs-yml, pnpm run lint (0 errors, 6 warnings; all pre-existing on main).

Refs DOCS-167

Requested-by: @abdulmanan-creator
@SahilAujla
SahilAujla merged commit c50994c into main Jul 31, 2026
11 checks passed
@SahilAujla
SahilAujla deleted the docs/hypercore-private-preview branch July 31, 2026 21:19
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.

2 participants