Grinnz / perldoc-browser

Perldoc Browser
https://perldoc.perl.org
Artistic License 2.0
55 stars 21 forks source link

Link to pod files on GitHub #25

Open Grinnz opened 5 years ago

Grinnz commented 5 years ago

As suggested at http://blogs.perl.org/users/grinnz/2019/10/request-for-feedback-perl-documentation-site.html#comment-1807822

Since Perl source is now on GitHub, we could link to the GitHub page for that source file to make documentation contributions easy.

Grinnz commented 5 years ago

This could also include module sources but we should take care not to do it for CPAN-upstream sources.

scottchiefbaker commented 3 years ago

I think this would be a great idea. :+1: from me

MasterInQuestion commented 11 months ago

    Somewhat related:     Accepting a URL input for text file and render its Pod?     E.g. https://perldoc.pl/?url=https://github.com/bugzilla/bugzilla/raw/5.2/Bugzilla/Extension.pm

Grinnz commented 11 months ago

I don't see how that is related, and no, I will not be rendering data from arbitrary URLs.

MasterInQuestion commented 11 months ago

    Rationale:     Pod relies post-rendering to properly display:     While there lacks proper built-in support for so.     (such is also the case for many GitHub Perl files)

    Security aspect, should be no worse than GitHub itself:     Which just has to render these files in different manner.

Grinnz commented 11 months ago

There are methods to render POD from arbitrary URLs to HTML, such as the perldoc command-line program. That is out of scope for this application.

MasterInQuestion commented 11 months ago

    Styling is a significant part, though.

    Web accessibility also.