File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ use Pod::Convenience;
38
38
use Pod ::Htmlify;
39
39
use OO::Monitors;
40
40
41
+ constant routine-subs = <sub method term operator trait submethod >;
42
+
41
43
# Don't include backslash in Win or forwardslash on Unix because they are used
42
44
# as directory separators. These are handled in lib/Pod/Htmlify.pm6
43
45
my \badchars-ntfs = Qw [ / ? < > : * | " ¥ ] ;
@@ -80,7 +82,7 @@ my @menu; # for use by future menu autogen
80
82
@ menu =
81
83
(' language' ,' ' ) => (),
82
84
(' type' , ' Types' ) => <basic composite domain-specific exceptions >,
83
- (' routine' , ' Routines' ) => < sub method term operator trait submethod > ,
85
+ (' routine' , ' Routines' ) => routine-subs ,
84
86
(' programs' , ' ' ) => (),
85
87
(' examples' , ' Examples' ) => (),
86
88
(' webchat' , ' Chat with us' ) => (),
@@ -912,7 +914,7 @@ sub write-index-files() {
912
914
913
915
write-main-index : kind<routine > : & summary ;
914
916
915
- for < sub method term operator submethod > -> $ category {
917
+ for routine-subs -> $ category {
916
918
write-sub-index : kind<routine > : $ category : & summary ;
917
919
}
918
920
}
You can’t perform that action at this time.
0 commit comments