swift-unidoc
swift-unidoc copied to clipboard
Cannot resolve roundabout anchor links to current decl page
right now, only certain syntaxes of anchor links are supported, depending on the page type.
| syntax | on decl page? | in standalone article? |
|---|---|---|
doc:#Some-heading |
supported | supported |
doc:ThisPage#Some-heading |
not supported! | supported |
doc:OtherArticle#Some-heading |
supported | supported |
doc:OtherDeclaration#Some-heading |
not supported! | not supported! |
the basic limitation is that we do not have the ability to resolve fragment links that target a heading on a declaration page, unless it is spelled without any path components. (in which case, the resolver already knows the target page.)