Skip Menu |
 
Update: The rt.cpan.org bug tracker service is no longer shutting down.

This queue is for tickets about the Dist-Zilla-App-Command-podpreview CPAN distribution.

Report information
The Basics
Id: 87673
Status: open
Priority: 0/
Queue: Dist-Zilla-App-Command-podpreview

People
Owner: Nobody in particular
Requestors: BBYRD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Helpful tip for MetaCPAN looks
Download (untitled) / with headers
text/plain 625b
MetaCPAN's CSS file works quite nicely in rendering the preview POD. You should include some docs around it. Here's what I do: This is in my home directory's .podpreview file: html_css = ../../Users/Brendan/Documents/code/metacpan/metacpan-web/root/static/css/style.css The CSS path is from MetaCPAN's metacpan-web git repo. If you don't have that and don't want to clone the whole thing, you can just steal the CSS file here: https://github.com/CPAN-API/metacpan-web/blob/master/root/static/css/style.css And then modify the html_css to the appropriate path. The resulting rendering is almost exactly like MetaCPAN.
Download (untitled) / with headers
text/plain 786b
On 2013-08-07 06:14:23, BBYRD wrote: Show quoted text
> MetaCPAN's CSS file works quite nicely in rendering the preview POD. > You should include some docs around it. Here's what I do: > > This is in my home directory's .podpreview file: > > html_css = ../../Users/Brendan/Documents/code/metacpan/metacpan- > web/root/static/css/style.css > > The CSS path is from MetaCPAN's metacpan-web git repo. If you don't > have that and don't want to clone the whole thing, you can just steal > the CSS file here: > > https://github.com/CPAN-API/metacpan- > web/blob/master/root/static/css/style.css > > And then modify the html_css to the appropriate path. The resulting > rendering is almost exactly like MetaCPAN.
It would be really handy to be able to view .html pages as metacpan would render them.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.