Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The problem
In the pod sources there are multiple uses of what appears to be a non-cannonical link, eg.
L<Iterable>
.The pod description
doc/Language/pod.pod6
and S26 would indicate that this should be a link to the local sourceIterable.pod6
. Instead the link is automagically converted by the doc system into a html link/type/iterable
.There is no indication that I can find to indicate why a single word link should be converted to point at a file in the arbitrary subdirectory
html/type
Solution provided
Consequently, I have written a short program to convert any
L<link>
wherelink
matches\w+
intoL<link|/type/link>
and any link of the formL<description|link>
toL<description|/type/link>
. The program is given below.The changes in this PR are the result of these alterations.
I have run
make html; make xtest
and checked that individual links that I manually identified continue to work as before. (make xtest throws up a number of failure fromxt/
directory tests, but none of these appear to be a consequence of the changes in this commit.