We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71799fb commit 3f26e7bCopy full SHA for 3f26e7b
htmlify.p6
@@ -13,24 +13,14 @@ use Perl6::TypeGraph;
13
use Perl6::TypeGraph::Viz;
14
use Perl6::Documentable::Registry;
15
use Pod::Convenience;
16
+use Pod::Htmlify;
17
18
my $*DEBUG = False;
19
20
my $type-graph;
21
my %methods-by-type;
22
my %*POD2HTML-CALLBACKS;
23
-sub url-munge($_) {
24
- return $_ if m{^ <[a..z]>+ '://'};
25
- return "/type/{uri_escape $_}" if m/^<[A..Z]>/;
26
- return "/routine/{uri_escape $_}" if m/^<[a..z]>|^<-alpha>*$/;
27
- # poor man's <identifier>
28
- if m/ ^ '&'( \w <[[\w'-]>* ) $/ {
29
- return "/routine/{uri_escape $0}";
30
- }
31
- return $_;
32
-}
33
-
34
# TODO: Generate menulist automatically
35
my @menu =
36
('language','' ) => (),
0 commit comments