-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anchors showing up in secondaries are problematic #293
Comments
@2colours @coke @lizmat This is an interesting problem and has several solutions as @2colours has suggested, but also doing nothing because the link is a NOP. More about the problem:
It is not at all clear what should be the generic rule. Here are some comments on each option.
I wonder how prevalent this issue is - how many composite files have NOP internal links. |
We may want to enforce a rule that all links must include the page, not just be relative to the page. I can update the |
@coke I think that changing the primary sources would be wrong because RakuDoc specifically says internal anchors are of the form |
@finanalyst I can't see why enforcing an extra constraint on a particular type of content would contradict the general principles of RakuDoc. This is like, |
@2colours I am not sure I understand what you are trying to say. There are 141 instances of It will take a bit of effort, but I dont think it is too difficult. |
This is something I noticed with https://docs.raku.org/syntax/unless
There is a link to
#if
, and that would be a valid link in the original context. However, it is invalid in this extracted context. Some ways to mitigate it would be:The text was updated successfully, but these errors were encountered: