From 68b6fc4c12cd02d9e7efb0bacf08412245e54df7 Mon Sep 17 00:00:00 2001
From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com>
Date: Sun, 9 Jun 2024 06:14:15 -0700
Subject: [PATCH] Improve bin/gen-years.sh
The links in the html file now are a bit more consistent in form and
the titles make a bit more sense.
By that I mean that it used to be that it would say 'About the 1st IOCCC' but only '1st IOCCC' was a link
and 'About' was bold but now it's all bold and now it's all a link (to suggest that the link is actually about
the first IOCCC). The download links were also improved in this way and
they now say 'winning entries' rather than say (for 1984) '1984 entry
source' (that was for all entries). Also, since it would otherwise say
something like:
...
Download all 1985 IOCCC winning entries.
Download all 1984 IOCCC winning entries.
I reworded it to say:
...
Download all IOCCC winning entries of 1985.
Download all IOCCC winning entries of 1984.
As other link titles were in bold in the file now each entry link is in
bold as well and so is the title - to help it stand out a bit better. I
am not quite sure about the bold title yet but the link should be bold
anyway to match others. I think the bold title does seem like a good
idea though.
Rebuilt years.html.
Note that most of the links have been checked in this file but I will
look at each entry link again as I verify links and formatting in the
entries' html files.
---
bin/gen-years.sh | 14 +-
years.html | 808 +++++++++++++++++++++++------------------------
2 files changed, 411 insertions(+), 411 deletions(-)
diff --git a/bin/gen-years.sh b/bin/gen-years.sh
index 9d8a42f6a..9dad6da55 100755
--- a/bin/gen-years.sh
+++ b/bin/gen-years.sh
@@ -4,6 +4,8 @@
#
# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved.
#
+# .. with very minor improvements in June 2024 by Cody Boone Ferguson.
+#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby granted,
# provided that the above copyright, this permission notice and text
@@ -225,7 +227,7 @@ function output_award
echo "$0: ERROR: in output_award: no award found in .entry.json file: $ENTRY_JSON_PATH" 1>&2
return 5
fi
- echo "$AWARD_STRING"
+ echo "**$AWARD_STRING**"
return 0
}
@@ -586,7 +588,7 @@ EOF
"$FMT_TOOL" -w 120 |
sed -e 's/ / | /g' -e 's/$/
/' -e '$s/
//'
echo
- echo '**Jump to** the [year level tarballs](#year_level)'
+ echo '[**Year level tarballs**](#year_level)'
echo
} | if [[ -z $NOOP ]]; then
@@ -668,8 +670,8 @@ for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
echo "
Jump to the year level tarballs
+Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
Jump to: top
@@ -1573,35 +1573,33 @@Download all IOCCC winning entries of 2020.
+Download all IOCCC winning entries of 2019.
+Download all IOCCC winning entries of 2018.
+Download all IOCCC winning entries of 2015.
+Download all IOCCC winning entries of 2014.
+Download all IOCCC winning entries of 2013.
+Download all IOCCC winning entries of 2012.
+Download all IOCCC winning entries of 2011.
+Download all IOCCC winning entries of 2006.
+Download all IOCCC winning entries of 2005.
+Download all IOCCC winning entries of 2004.
+Download all IOCCC winning entries of 2001.
+Download all IOCCC winning entries of 2000.
+Download all IOCCC winning entries of 1998.
+Download all IOCCC winning entries of 1996.
+Download all IOCCC winning entries of 1995.
+Download all IOCCC winning entries of 1994.
+Download all IOCCC winning entries of 1993.
+Download all IOCCC winning entries of 1992.
+Download all IOCCC winning entries of 1991.
+Download all IOCCC winning entries of 1990.
+Download all IOCCC winning entries of 1989.
+Download all IOCCC winning entries of 1988.
+Download all IOCCC winning entries of 1987.
+Download all IOCCC winning entries of 1986.
+Download all IOCCC winning entries of 1985.
+Download all IOCCC winning entries of 1984.
Jump to: top