Discourse "onebox"es hide the full URL which is painful for docs links

Here I link to https://docs.julialang.org/en/v1/base/base/#Base.pkgversion-Tuple{Module} but it only shows a very vague box summary that takes the page title and simplifies the URL down to its domain only.

When urls are placed in-line in text they also look very vague: Essentials · The Julia Language

From a bit of research there’s nothing easy we can do on the Documenter side short of serve a static redirect page for every anchor.. the URL anchor isn’t used by the discourse onebox code.. it just fetches the page HTML and grabs its metadata. We couldn’t e.g. use javascript to serve custom tags.

I don’t see an easy way to improve it, so this is more of a gripe.

Related Oneboxes with anchors hide the anchor - Feature - Discourse Meta

A proposal FEATURE: Enhance onebox titles with URL fragment/anchor context by IanButterworth · Pull Request #36515 · discourse/discourse · GitHub
FYI @mbauman

Well that was easier to fix than expected..

https://docs.julialang.org/en/v1/base/base/#Base.AsyncCondition-Tuple{Function}

now shows as

and used to show like this

Sorry if starting a new topic would have been more appropriate, but any chance that this fix could be applied to the inline doc links as well?

Currently, this is how inline links compare to stand-alone ones:

The URL: https://docs.julialang.org/en/v1/base/base/#Base.AsyncCondition-Tuple{Function}

Inline: Essentials · The Julia Language

Stand-alone

Just to be clear, what I think would be good is if the inline link (just like the stand-alone) read as: Base.AsyncCondition - Essentials · The Julia Language