Skip to content

Commit

Permalink
it is all relative to pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave committed Aug 31, 2023
1 parent 096da3b commit 256de24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/makedocs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
use lib qw(.. ../lib lib);

use Cwd;
use File::Copy qw(copy);
use File::Copy::Recursive qw(rcopy);
use File::Find;
use File::Path qw(rmtree make_path);
Expand Down Expand Up @@ -84,10 +85,10 @@ sub make_pod {
$converter->contents_page_start($contents_start);
$converter->contents_page_end("</body></html>");
if (exists($::ENV{'READTHEDOCS'})) {
$converter->add_css('./style.css');
rcopy('style.css', 'en/html/style.css');
$converter->add_css('./style.css');
copy('../style.css', 'html/style.css') or die "Copy failed: $!";
} else {
$converter->add_css('./../../../../style.css');
$converter->add_css('./../../../../style.css');
}
$converter->javascript_flurry(0);
$converter->css_flurry(0);
Expand Down

0 comments on commit 256de24

Please sign in to comment.