Skip to content

fix(docs): correct GitHub edit link on Community Resources page#741

Merged
tannerlinsley merged 1 commit intoTanStack:mainfrom
constantly-dev:fix/community-resources-edit-link
Mar 5, 2026
Merged

fix(docs): correct GitHub edit link on Community Resources page#741
tannerlinsley merged 1 commit intoTanStack:mainfrom
constantly-dev:fix/community-resources-edit-link

Conversation

@constantly-dev
Copy link
Contributor

@constantly-dev constantly-dev commented Mar 5, 2026

Summary

This fixes the “Submit a PR on GitHub” link on the Community Resources page.
The link was previously generated using libraryId (e.g. query), which incorrectly pointed to https://github.com/query/.... This PR switches it to use the configured library.repo (e.g. tanstack/query).

Context

Reported in TanStack/query#10229. Even though the issue was filed in the Query repo, the broken link is generated in this website repository (tanstack.com).

Issue: TanStack/query#10229

What changed

Update the Community Resources route to build the GitHub “edit” URL using library.repo instead of libraryId.

AS-IS

2026-03-05.2.58.00.mov

TO-BE

2026-03-05.2.59.04.mov

@netlify
Copy link

netlify bot commented Mar 5, 2026

👷 Deploy request for tanstack pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c07f7e7

@tannerlinsley tannerlinsley merged commit f7126cf into TanStack:main Mar 5, 2026
1 check passed
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