Rewrite to static site
With a complete reorganisation of the directory structure and most of the content converted to pandoc-flavoured markdown. Some TODO's left before this can go live: - Main page - Atom feeds - Bug tracker
This commit is contained in:
parent
5c85a7d32f
commit
6242b2ee9c
291 changed files with 4346 additions and 6141 deletions
19
mkchangelog.pl
Executable file
19
mkchangelog.pl
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
($project) = (shift =~ /^([^ \/]+)/);
|
||||
$title = shift;
|
||||
|
||||
print "---\ntitle: $title\npage-type: changelog\n...\n";
|
||||
|
||||
for (split /\n\n/, join '', <>) {
|
||||
s/^([0-9]+\.[0-9]+(?:\.[0-9]+)?)\s+-\s+([0-9]{4}-[0-9]{2}-[0-9]{2})//;
|
||||
print "\n- **$1** - $2";
|
||||
$dl = "$project-$1.tar.gz";
|
||||
print " - [dllink $dl]" if -f "pub/download/$dl";
|
||||
print "\n";
|
||||
|
||||
for (split /\r?\n\s+-\s+/) {
|
||||
s/([*_\\])/\\$1/g;
|
||||
print " - $_\n" if $_;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue