Skip to content

Subgraph docs for multiple Gateway Providers - #1138

Open
brandonleekramer wants to merge 7 commits into
mainfrom
graph-gateway-gtm
Open

brandonleekramer wants to merge 7 commits into
mainfrom
graph-gateway-gtm

Conversation

@brandonleekramer

Copy link
Copy Markdown
Member

Summary

Updates the Subgraph docs, and the Subgraph Gateway docs that depend on them, for a network served by multiple Gateway Providers. The developer flow stays build → publish → query:

  • Subgraph Studio works for every developer, whichever gateway they query through. Studio API keys and billing apply only to The Graph Foundation's Gateway, which stays the labeled default.
  • A new Gateway Providers section explains how to choose and switch providers. Published Subgraphs live onchain, so switching gateways needs only a new endpoint and API key, not a republish.
  • The Subgraph Studio provider pages, Using Subgraph Studio, x402 Payments and the Upgrade Indexer move into a Graph Foundation section under Gateway Providers. Every old URL redirects.
  • The Subgraph Gateway docs (Gateway Software) gain a Collaboration Framework page, and Tracking QoS is rewritten around publishing per-Indexer QoS data.
  • Network pages, the homepage card, the glossary and the sidebar are updated to match.
    127 files change in total. 58 of them are per-chain network partials with one-line link updates.

How to review

The PR is split into six commits, one per area. Reviewing commit by commit in the Commits tab is much easier than reading the combined diff, which mixes page moves with rewrites.

Suggested approach:

  1. Skim commit 1 quickly. It only moves pages and updates paths, so the question is whether the redirects and links are right, not whether the wording is.
  2. Spend most of your time on commits 2 and 5. These hold the new and rewritten pages: Gateway Providers, the Graph Foundation section, Collaboration Framework and Tracking QoS.
  3. Commits 3, 4 and 6 are lighter. They are mostly focused edits to existing pages, plus a small component change for the network pages.
  4. Read the rendered pages on the PR preview for anything layout-dependent: tables, cards, buttons and the sidebar. The preview list under the table gives the pages to open for each commit.
# Commit What to check
1 Move Subgraph Studio pages into a Graph Foundation provider section Paths only. Pages move with their content unchanged (the renames show 95–100% similarity). Check the nginx.conf redirects, the sidebar _meta files, the route lockfile, and links to the moved pages, including the 58 network partials. No wording changes here.
2 Add Gateway Providers overview and rewrite the Graph Foundation section The new Providers overview (Choosing a Gateway, Standards and Differences tables, Switching Gateway Providers). The Foundation Gateway overview, rewritten to the provider-page template, with billing merged in. Subgraph Studio, restructured to follow the Quick Start. The GraphOps provider page. Edits to Billing & API Keys, Fair Use, FAQs, x402 and Upgrade Indexer.
3 Update the Subgraph developer flow for multiple Gateway Providers Subgraphs overview, Quick Start, the Developing intro (now "Subgraph Development Deep Dive"), the new Testing and Staging page, Publishing, the Querying pages, and small edits across Best Practices, Public Subgraphs and MCP pages.
4 Update network pages, homepage card and sidebar order Network pages: chains not marked Studio-only show "API Keys: Choose a Gateway Provider" and one Choose Provider button. Studio-only chains keep Get API Key to Subgraph Studio. Also the homepage "Get an API Key" card, and AI Tooling moved to sit above Resources.
5 Update Subgraph Gateway docs for multiple Gateway Operators The new Collaboration Framework page (Enablement, Endorsement and Expansion tiers, and transparency data). Tracking QoS, rewritten. Gateway in a Box credit and repos, plus correctness fixes across the consumer-side and component pages.
6 Regroup the glossary and update resources pages Glossary in Protocol, Developer and Indexer sections, alphabetized, with Graph Horizon and Substreams terms added. Getting GRT gains the Studio billing wallet steps. One-line edits elsewhere.

Pages to open on the preview

Commit Pages
2 /subgraphs/providers/overview/, /subgraphs/providers/graph-foundation/overview/, /subgraphs/providers/graph-foundation/subgraph-studio/, /subgraphs/providers/graphops/
3 /subgraphs/overview/, /subgraphs/quick-start/, /subgraphs/developing/introduction/, /subgraphs/developing/deploying-publishing/testing-and-staging/, /subgraphs/querying/introduction/
4 /supported-networks/base/ (a chain open to every Gateway Provider), /supported-networks/arc/ (a Studio-only chain), the homepage, and the sidebar
5 /gateways/subgraphs/ecosystem/collaboration/, /gateways/subgraphs/supply-side/tracking-qos/, /gateways/subgraphs/overview/
6 /resources/glossary/, /resources/getting-grt/#using-grt-for-subgraph-studio-billing

Naming used throughout

  • The Graph Foundation's Gateway (or "the Foundation's Gateway") for gateway.thegraph.com.
  • Gateway Provider in the Subgraphs docs, and Gateway Operator in the Gateway Software docs. The glossary entry is "Gateway Operator/Provider".
  • Individual providers are named only under subgraphs/providers/.

Testing

  • pnpm build passes on commits 1–4 and on the final commit, which is the full PR.
  • Every internal link and anchor in the built site (208 pages, about 5,900 links) was checked against the generated HTML.
  • Redirects live in nginx.conf, so they don't run under pnpm dev. Test them on the PR preview or with pnpm docker:build && pnpm docker:up:
Old URL Should land on
/docs/en/subgraphs/providers/subgraph-studio/introduction/ /docs/en/subgraphs/providers/graph-foundation/overview/
/docs/en/subgraphs/billing/ /docs/en/subgraphs/providers/graph-foundation/overview/
/docs/en/subgraphs/developing/deploying-publishing/using-subgraph-studio/ /docs/en/subgraphs/providers/graph-foundation/subgraph-studio/
/docs/en/subgraphs/providers/subgraph-studio/managing-api-keys/ /docs/en/subgraphs/providers/graph-foundation/managing-api-keys/
/docs/en/subgraphs/providers/subgraph-studio/upgrade-indexer/ /docs/en/subgraphs/providers/graph-foundation/upgrade-indexer/
/docs/en/subgraphs/tooling/x402-payments/ /docs/en/subgraphs/providers/graph-foundation/x402-payments/
/docs/en/subgraphs/querying/choosing-a-gateway/ /docs/en/subgraphs/providers/overview/#choosing-a-gateway

Old redirect rules that pointed at moved pages now point straight at the new pages, so nothing chains. Old billing anchors, such as #adding-grt-using-a-wallet, forward to the matching sections of Getting GRT.

Already broken on main, not changed here

  • Two links inside the graph-ts and graph-client README pages, which are pulled in from other repos.
  • Four homepage chain links that use registry IDs instead of page slugs: btc, eos, injective-mainnet, solana-mainnet-beta.
  • /token-api/quick-start/ on The Graph Market page.
  • route-lockfile.txt was already missing the other Gateway Software routes and Rewards Eligibility. This PR adds only the routes it creates or moves.

Related

Follow-ups (not in this PR)

  • A provider page for Ormi Labs. Its card currently links to ormilabs.com.
  • Tracking QoS documents the proposed Gateway Indexer QoS API as drafted. Two points need confirming:
    • Credentials: the API needs a bearer token, but Endorsement's transparency data calls for no credentials.
    • Deployment ID format: the API uses 0x hex IDs, but Endorsement's transparency data calls for Qm… IDs.
  • Several Gateway Software pages still call Titorelli optional.
  • Three glossary entries (Slashing, Allocation, Delegation Capacity) describe pre-Horizon rules.
    🤖 Generated with Claude Code

https://claude.ai/code/session_01HpT75tdqaGiVtnx3HJJafu

brandonleekramer and others added 7 commits November 27, 2026 19:31
…tion

Moves the subgraph-studio provider pages, Using Subgraph Studio, x402 Payments and the Upgrade Indexer into subgraphs/providers/graph-foundation/ with their content unchanged. Adds nginx redirects from every old URL, updates the sidebar and route lockfile, and repoints links to the moved pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75tdqaGiVtnx3HJJafu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpT75tdqaGiVtnx3HJJafu
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