X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fmknews.perl;h=68866f44f202b6947f31bc3b056d6cb75698abcf;hb=e5d6fbcc4262e94da916be5e9eb5cb0026bf1038;hp=510a4e1810558e5a74efdbdd4386bdb81b00644c;hpb=6c853f5256f3a324c018a37a9e8a6b9fc8fdc063;p=public-inbox.git
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index 510a4e18..68866f44 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# Copyright (C) 2019-2020 all contributors
+# Copyright (C) all contributors
# License: AGPL-3.0+
# Generates NEWS, NEWS.atom, and NEWS.html files using release emails
# this uses unstable internal APIs of public-inbox, and this script
@@ -43,9 +43,10 @@ if ($dst eq 'NEWS') {
);
$ibx->{-primary_address} = $addr;
my $ctx = {
- -inbox => $ibx,
+ ibx => $ibx,
-upfx => "$base_url/",
-hr => 1,
+ zfh => $out,
};
if ($dst eq 'NEWS.html') {
html_start($out, $ctx);
@@ -119,10 +120,10 @@ sub html_start {
}
sub html_end {
- print $out <