Skip to content
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

Put titles and links to support on one line of POD #78

Open
LadyAleena opened this issue Oct 15, 2020 · 1 comment
Open

Put titles and links to support on one line of POD #78

LadyAleena opened this issue Oct 15, 2020 · 1 comment

Comments

@LadyAleena
Copy link

You could put the titles and urls together to create links to more information on the module.

Note: I change Search CPAN to meta::cpan (line 331) since CPAN is not where the links lead.

=over

=item * L<Foo::Bar on RT, CPAN's request tracker|https://rt.cpan.org/NoAuth/Bugs.html?Dist=Foo-Bar>

=item * L<Foo::Bar on CPAN Ratings|https://cpanratings.perl.org/d/Foo-Bar>

=item * L<Foo::Bar on meta::cpan|https://metacpan.org/release/Foo-Bar>

=back

(You can copy and paste the above into the POD renderer to see how meta::cpan parses the lines.)

I think line 1429 would be...

\=item * L<$module on $title|$link>

Lines 1430 and 1431 could be removed.

This is how it would look with perldoc on my computer:

    *   Foo::Bar on RT, CPAN's request tracker
        <https://rt.cpan.org/NoAuth/Bugs.html?Dist=Foo-Bar>

    *   Foo::Bar on CPAN Ratings
        <https://cpanratings.perl.org/d/Foo-Bar>

    *   Foo::Bar on meta::cpan
        <https://metacpan.org/release/Foo-Bar>

This is the html output (though the links are created with markdown here):

@Grinnz
Copy link
Collaborator

Grinnz commented Oct 15, 2020

Note: I change Search CPAN to meta::cpan (line 331) since CPAN is not where the links lead.

Actually it is, metacpan is just a search engine for CPAN, and the obsolete CPAN search website was just a different one.

Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants