Author: henkp Date: Tue Apr 24 14:31:22 2018 New Revision: 1830000 URL: http://svn.apache.org/viewvc?rev=1830000&view=rev Log: cleanup
Added: attic/site-lua/docs/data/ - copied from r1829994, attic/site-lua/docs/_data/ attic/site-lua/docs/layouts/ - copied from r1829994, attic/site-lua/docs/_layouts/ Removed: attic/site-lua/docs/_data/ attic/site-lua/docs/_layouts/ Modified: attic/site-lua/docs/gen-flags attic/site-lua/docs/mk-stuff Modified: attic/site-lua/docs/gen-flags URL: http://svn.apache.org/viewvc/attic/site-lua/docs/gen-flags?rev=1830000&r1=1829999&r2=1830000&view=diff ============================================================================== --- attic/site-lua/docs/gen-flags (original) +++ attic/site-lua/docs/gen-flags Tue Apr 24 14:31:22 2018 @@ -4,7 +4,7 @@ use strict ; use warnings ; use JSON ; -my $DEF_JSON_FILE = '_data/projects.json' ; +my $DEF_JSON_FILE = 'data/projects.json' ; my $DEF_FLAGS_DIR = 'flags' ; my $BANNER_FILE = 'banners' ; Modified: attic/site-lua/docs/mk-stuff URL: http://svn.apache.org/viewvc/attic/site-lua/docs/mk-stuff?rev=1830000&r1=1829999&r2=1830000&view=diff ============================================================================== --- attic/site-lua/docs/mk-stuff (original) +++ attic/site-lua/docs/mk-stuff Tue Apr 24 14:31:22 2018 @@ -4,8 +4,8 @@ use strict ; use warnings ; use JSON ; -my $DEF_JSON_FILE = '_data/projects.json' ; -my $DEF_LAYOUT = '_layouts/project.html' ; +my $DEF_JSON_FILE = 'data/projects.json' ; +my $DEF_LAYOUT = 'layouts/project.html' ; my $DEF_DEST = '.' ; my $prog = substr $0, rindex ( $0, '/' ) + 1 ; @@ -93,14 +93,15 @@ sub mk_proj_list sprintf "<ul>\n%s</ul>", join '', map "<li>$_</li>\n", @res ; } -sub url { sprintf '<a href="http://%s">%s</a>', @_ ; } +sub url { sprintf '<a href="%s">%s</a>', @_ ; } sub mail_url { my ( $p, $l ) = @_ ; - url ( "mail-archives.apache.org/mod_mbox/$p-l/", $l ) ; + url ( "https://mail-archives.apache.org/mod_mbox/$p-$l/", $l ) ; } +# https://issues.apache.org/jira/browse/ACE/ sub jira_url { my $p = shift ; - ( $p ? url ( "https://issues.apache.org/jira/browse/$p/", $p ) : '' ) ; + ( $p ? url ( "https://issues.apache.org/jira/browse/$p/", 'JIRA' ) : '' ) ; } sub bugz_url { my $p = shift ; @@ -108,6 +109,14 @@ sub bugz_url } sub wiki_url { my $u = shift ; ( $u ? url ( $u, $u ) : '' ) ; } +# https://whimsy.apache.org/board/minutes/ace.html +sub minutes_url + { my $p = shift ; + ( $p + ? url ( "https://whimsy.apache.org/board/minutes/$p.html", 'Minutes' ) + : '' + ) ; + } sub gen_page { my %opts = @@ -144,12 +153,13 @@ sub mk_proj my $bugz = $hash -> {bugzilla} ; my $wiki = $hash -> {wiki} ; my @res = - ( [ 'Website', url ( $site, $site ) ] + ( [ 'Website', url ( "https://$site", $site ) ] , [ 'Mailing List Archives', $mail ] , [ 'Issue Tracker' , join ' | ', grep /./, jira_url ( $jira ), bugz_url ( $bugz ) ] , [ 'Wiki', wiki_url $wiki ] + , [ 'Board Reports', minutes_url $hash -> {board} || $proj ] ) ; my $res = <<TAB ; <p>$site moved into the Attic in $rtrd.<br>$dscr</p>