Skip Menu |

This queue is for tickets about the Pod-HtmlTree CPAN distribution.

Report information
The Basics
Id: 57242
Status: new
Priority: 0/
Queue: Pod-HtmlTree

People
Owner: Nobody in particular
Requestors: wookiecd [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.97
Fixed in: (no value)



Subject: Poor title generation when converting Pod to HTML
When generating html, the --title=<title> command is not passed to Pod::Html As a result, titles are generated with the temporary filenames, which is not very appropriate. To fix this, and also access the capability to prune source directories from conversion, the following .diff may be applied to 0.97: 124a125,126 Show quoted text
> our $EXTRA_PRUNE; >
137c139 < my @dirs = pms("."); --- Show quoted text
> my @dirs = pms(".", $EXTRA_PRUNE);
168a171,172 Show quoted text
> my $title = $relpath; > $title =~ s{^\\|/}{};
174a179 Show quoted text
> "--title=$title",