use File::Copy;
use File::Spec::Functions qw(rel2abs splitpath splitdir catpath catdir catfile canonpath);
-my $input_path = 'C:/SDL_perl/lib/pods';
+my $input_path = 'D:/dev/SDL_perl/lib/pods';
$input_path = $ARGV[0] if $ARGV[0];
my ($volume, $dirs) = splitpath(rel2abs(__FILE__));
if($self->SUPER::type() eq 'page')
{
my $page = $self->SUPER::page();
+ my $suff = '';
- if($page =~ /^SDL::/)
+ if($page =~ /^SDL\b/)
{
- $page =~ s/::/-/;
- return "/$page.html";
+ $page =~ s/::([A-Z]+)/-$1/g;
+ $page =~ s/(.*)::(.*)/\/$1.html#$2/;
+ $page .= '.html' unless $page =~ /\.html/;
+
+ return $page;
}
else
{