apollographql / apollo-client

:rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
https://apollographql.com/client
MIT License
19.38k stars 2.66k forks source link

[Docs] Anchor links seem to be stripped #11819

Closed swrobel closed 6 months ago

swrobel commented 6 months ago

Issue Description

The Docs website generation seems to be stripping out anchors from links, or something of that sort, as I can see that the source contains the proper anchor links for "GraphQL error policies" and "Setting a fetch policy" but the Docs page does not include those anchors in those links.

Link to Reproduction

https://www.apollographql.com/docs/react/data/queries/#options

Reproduction Steps

  1. Visit useQuery options docs
  2. Follow a link that should resolve to an anchor on another docs page, such as "GraphQL error policies" or "Setting a fetch policy"
  3. Note that you are just taken to the page that contains that anchor, not to the anchor itself

@apollo/client version

n/a

bignimbus commented 6 months ago

Thanks @swrobel for reporting this! We'll take a look 👀

phryneas commented 6 months ago

This should be fixed soon with https://github.com/apollographql/docs/pull/847

phryneas commented 6 months ago

The fix is live - thank you for the report!

github-actions[bot] commented 6 months ago

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.

github-actions[bot] commented 5 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using StackOverflow or our discord server.