-
Notifications
You must be signed in to change notification settings - Fork 601
Don't try to link to INSTALL which is not linkable documentation #23182
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
Conversation
|
podchecker suggests linking to INSTALL which doesn't make sense for the reason this PR exists |
| push @links, $3 if defined $3; | ||
| foreach my $link (@links) { | ||
| if ($link eq 'INSTALL') { | ||
| s/ \b INSTALL \b /C<L<INSTALL>>/xg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not turn INSTALL here into L<INSTALL>?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
INSTALL is not a linkable documentation page (installed module, pod, or script), it is a file that comes with the tarball.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or looking at it the other way, L<INSTALL> would be a link to a hypothetical INSTALL.pm module on CPAN. (Would you look at that, https://metacpan.org/pod/INSTALL actually exists.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good demonstration that we have no permissions system for documentation names, and that .pod files contained in releases should be namespaced (or written in a format not special cased by Perl tools).
|
|
||
| Perl's L<INSTALL> file has been clarified to explicitly state that Perl | ||
| Perl's F<INSTALL> file has been clarified to explicitly state that Perl | ||
| requires a C89 compliant ANSI C Compiler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this isn't part of your patch, but Isn't perl C99 now days?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes (partially), but this is perl5122delta, which was released 15 years ago.
Also remove the code in autodoc.pl which attempts to create these links.
fd1e54c to
cc1af7b
Compare
Also remove the code in autodoc.pl which attempts to create these links.