Skip to content

Commit 3c5ffe4

Browse files
authored
Merge pull request #605 from tbrowder/progs-index
sort programs files by file name for desired order
2 parents cc46aaa + 3f9f9aa commit 3c5ffe4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

htmlify.p6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,10 +739,12 @@ sub write-index-files() {
739739
p2h(extract-pod('doc/404.pod'),
740740
pod-path => '404.pod');
741741

742+
# sort prorams index by file name to allow author control of order
742743
say 'Writing html/programs.html ...';
743744
spurt 'html/programs.html', p2h(pod-with-title(
744745
'Perl 6 Programs Documentation',
745-
pod-table($*DR.lookup('programs', :by<kind>).sort(*.name).map({[
746+
#pod-table($*DR.lookup('programs', :by<kind>).sort(*.name).map({[
747+
pod-table($*DR.lookup('programs', :by<kind>).map({[
746748
pod-link(.name, .url),
747749
.summary
748750
]}))

0 commit comments

Comments
 (0)