projects
/
ikiwiki
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
pagestats: Use a combination of precense and link dependencies.
[ikiwiki]
/
IkiWiki
/
Plugin
/
rawhtml.pm
1
#!/usr/bin/perl
2
# Copy html files raw.
3
package IkiWiki::Plugin::rawhtml;
4
5
use warnings;
6
use strict;
7
use IkiWiki 3.00;
8
9
sub import {
10
hook(type => "getsetup", id => "rawhtml", call => \&getsetup);
11
$config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
12
}
13
14
sub getsetup () {
15
return
16
plugin => {
17
safe => 1,
18
rebuild => 1, # changes file types
19
},
20
}
21
22
1