Skip to content

Commit

Permalink
replace with passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Dec 17, 2018
1 parent f7fc90c commit b8843a4
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 306 deletions.
12 changes: 0 additions & 12 deletions .gitmodules

This file was deleted.

14 changes: 1 addition & 13 deletions lib/github/commands/pod62html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,4 @@

use v6;

use lib $*PROGRAM.IO.parent.add: '../../../vendor/p6-pod-load';
use lib $*PROGRAM.IO.parent.add: '../../../vendor/Pod-To-HTML';
use lib $*PROGRAM.IO.parent.add: '../../../vendor/uri';
use lib $*PROGRAM.IO.parent.add: '../../../vendor/p6-Template-Mustache';

use Pod::Load;
use Pod::To::HTML;

$_ = Pod::To::HTML.render(load(slurp));
s:s{'<!doctype html>' .* '<div id="___top"></div>' \s*} = "";
s:s{\s* '</div>' \s* '</body>' \s* '</html>' \s*} = "";
s:s{'<div class="pod-body' <-[>]>* '>' \s*} = "";
.put;
slurp.put;
151 changes: 0 additions & 151 deletions test/markups/README.pod6

This file was deleted.

126 changes: 0 additions & 126 deletions test/markups/README.pod6.html

This file was deleted.

1 change: 0 additions & 1 deletion vendor/Pod-To-HTML
Submodule Pod-To-HTML deleted from a8d070
1 change: 0 additions & 1 deletion vendor/p6-Template-Mustache
Submodule p6-Template-Mustache deleted from d84fdf
1 change: 0 additions & 1 deletion vendor/p6-pod-load
Submodule p6-pod-load deleted from 66fc61
1 change: 0 additions & 1 deletion vendor/uri
Submodule uri deleted from e5c855

0 comments on commit b8843a4

Please sign in to comment.