Skip to content

docs: point stale heading anchors at their current pages - #1130

Open
yash251 wants to merge 1 commit into
graphprotocol:mainfrom
yash251:yash/docs-stale-anchors
Open

yash251 wants to merge 1 commit into
graphprotocol:mainfrom
yash251:yash/docs-stale-anchors

Conversation

@yash251

@yash251 yash251 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Several pages still link to /developing/creating-a-subgraph/#<section>. That path redirects to starting-your-subgraph, which has none of those headings, so the links land at the top of the wrong page. Two links also use #time-travel-queries, but the heading is now #time-travel-queries-example.

Each link now points at the page that holds the section:

Page Link Now points to
best-practices/pruning #prune /subgraphs/developing/creating/subgraph-manifest/#prune
best-practices/pruning, existing-subgraphs/standard-subgraphs #time-travel-queries /subgraphs/querying/graphql-api/#time-travel-queries-example
developing/developer-faq #data-source-templates, #start-blocks subgraph-manifest/#data-source-templates, subgraph-manifest/#start-blocks
guides/enums #enums /subgraphs/developing/creating/ql-schema/#enums
developing/creating/advanced, guides/grafting #data-source-templates, #grafting-onto-existing-subgraphs subgraph-manifest/#data-source-templates, advanced/#grafting-onto-existing-subgraphs
tooling/unit-testing-framework (code comment) #create-a-new-handler-to-process-files advanced/#create-a-new-handler-to-process-files
developing/creating/starting-your-subgraph (SpecVersion table) #indexer-hints, #polling-filter, #once-filter, #file-data-sources, #timeseries-and-aggregations, /#indexed-argument-filters--topic-filters the matching headings in subgraph-manifest and advanced, using the same targets as #1128

English pages only. I left grafting.mdx's #experimental-features link as is, because I couldn't find an "Experimental features" heading on any page. Happy to point it somewhere if you know where that content lives now.

pnpm prettier:check, pnpm lint and pnpm typecheck pass.

Links to /developing/creating-a-subgraph/#... redirect to
starting-your-subgraph, which has none of those headings, and the
graphql-api heading is now #time-travel-queries-example. Point each link
at the page that holds the section: subgraph-manifest (prune, start
blocks, data source templates, indexer hints, polling and once filters),
advanced (grafting, file data sources, file handlers, timeseries,
indexed argument filters) and ql-schema (enums).
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