docs icon indicating copy to clipboard operation
docs copied to clipboard

Anchor links embed language - is this intentional?

Open mattheworiordan opened this issue 2 years ago • 0 comments

If you're in the docs and click on the chain icon that appears when rolling over a heading, it generates a deep link to that page and that section. See screenshot below for an example:

MO screenshot 2023-06-17 at 12 01 39

The link includes the language though, such as https://ably.com/docs/realtime/channels?lang=javascript#channel-states. I am not sure that's the best behaviour, but probably one to discuss the pros and cons. Including the language link means everyone will always be taken to the language preference of the user generating the link, as opposed to the respective docs for their preferred language or default language of Javascript.

Do we think this is the best behaviour?

┆Issue is synchronized with this Jira Task by Unito

mattheworiordan avatar Jun 17 '23 12:06 mattheworiordan