Add page for yxml + misc changes

This commit is contained in:
Yorhel 2013-09-25 15:26:43 +02:00
parent 60c0840b94
commit 17e0e2b91c
7 changed files with 179 additions and 19 deletions

View file

@ -12,6 +12,7 @@ BEGIN { ($ROOT = abs_path $0) =~ s{index\.cgi$}{}; }
my @changes = (
[ '2013-09-03', '/yxml', 'Announcing yxml: A small, fast and correct XML parser' ],
[ '2013-07-05', '/dump/insbench', 'Documented a little data structure benchmark' ],
[ '2013-06-15', '/ncdc', 'ncdc 1.17 released' ],
[ '2013-05-09', '/ncdu', 'ncdu 1.10 released' ],
@ -96,6 +97,7 @@ TUWF::register(
qr{tuwf/man(?:/(db|misc|request|response|xml))?} => \&tuwfmanual,
qr{tuwf/changes} => sub { changelog(shift, 'tuwf-changelog', 'TUWF', 'tuwf', 'changes', 'TUWF Changelog') },
qr{ylib} => sub { podpage(shift, 'ylib/README.pod', 'ylib', '', 'Ylib') },
qr{yxml} => sub { podpage(shift, 'yxml', 'yxml', '', 'Yxml - A small, fast and correct* XML parser') },
qr{doc} => sub { podpage(shift, 'doc', 'doc', '', 'Articles') },
qr{doc/sqlaccess} => sub { podpage(shift, 'sqlaccess', 'doc', '', 'Multi-threaded Access to an SQLite3 Database', 1) },
qr{doc/commvis} => sub { podpage(shift, 'doc-commvis', 'doc', '', 'A Distributed Communication System for Modular Applications', 1) },
@ -454,7 +456,7 @@ sub htmlHeader {
sub htmlFooter {
end 'div'; # main
div id => 'footer';
p 'my software, your toaster';
p 'all lefts and rights reversed';
end;
end 'div'; # body
end 'body';
@ -522,6 +524,7 @@ sub htmlMenu {
$m->('/globster', 'Globster ');
$m->('/tuwf', 'Tuwf ');
$m->('/ylib', 'Ylib', $o{page} eq 'ylib');
$m->('/yxml', 'Yxml', $o{page} eq 'yxml');
$m->('/doc', 'Articles', $o{page} eq 'doc');
$m->('/dump', 'Code dump', $o{page} eq 'dump', sub {
$m->('/dump', 'Misc.', $o{page} eq 'dump' && !$o{sec});