fix and improve links within the web site

Entry source is now prog.c for IOCCC years 2014 thru 2020,
or is now dirname.c IOCCC years 1984 thru 2013.

To achieve this state, we renamed the following:

renamed:    2004/hibachi/src/hibachi.c -> 2004/hibachi/hibachi.c
renamed:    2012/omoikane/nyaruko.alt.c -> 2012/omoikane/omoikane.alt.c
renamed:    2012/omoikane/nyaruko.alt2.c -> 2012/omoikane/omoikane.alt2.c
renamed:    2012/omoikane/nyaruko.c -> 2012/omoikane/omoikane.c
renamed:    2012/omoikane/nyaruko.orig.c -> 2012/omoikane/omoikane.orig.c

Modified `bin/subst.entry-index.sh` to add to entry `index.html` file,
links to the `Makefile` and the _C code_ to the top navigation bar.
Changed `bin/subst.entry-index.sh` VERSION from "1.2.2 2024-02-25"
to "1.3 2024-03-02".

Moved printing the Inventory link in the top navigation bar
from `bin/subst.entry-navbar.awk` to `bin/subst.entry-index.sh`.
Changed `bin/subst.entry-navbar.awk` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-03-02".

Moved printing the Inventory link in the top navigation bar
from `bin/subst.year-navbar.awk` to `bin/subst.year-index.sh`.
Changed `bin/subst.year-index.sh` VERSION from "1.0 2024-02-11"
to "1.1 2024-03-02".
Changed `bin/subst.year-navbar.awk` VERSION from "1.0 2024-02-11"
to "1.1 2024-03-02".

Added location names (both default and common) to `author.html`.
Changed `tmp/gen_author_json.sh` VERSION from "1.0 2023-06-06"
to "1.1 2024-03-04".

Added location names (both default and common) to `author.html`.
Changed `bin/gen-authors.sh` VERSION from "1.2 2024-03-09"
to "1.3 2024-03-04".

The manifest and the resulting `.entry.json` files have been changed
for `2004/hibachi` and `2012/omoikane`.

The Makefiles for  `2004/hibachi` and `2012/omoikane` copy the
source file into the "previously used location".  The `make clobber`
rule removes the copied source.  The `.gitignore` files have been
updated accordingly.

Improved how the concept of IOCCC terms _entry_, _author_ and _submission_ are
used in markdown files.

Links to markdown files (files ending in .md) within the repo were
changed to link to HTML files (files ending in .html).  Special cases
where `README.md` became `index.html` were modified accordingly.

Fixed URL for `bugs.html` in Makefile comments.

Fixed name of `bin/sgi.sh` referenced in comments in `.gitignore` files.

Links to locations within the repo are now relative.  For example a
link to `/contact.html` may become `../contact.html' or '../../contact.html`
depending on the directory level of the markdown file.

Nearly all links with absolute URLs under _https://www.ioccc.org_
or `https://ioccc-src.github.io/temp-test-ioccc_ have been changed to
relative paths within the repo.  Some exceptions to this (such as
referring to a GitHub repo) were preserved.

Fixed a number of inside `faq.md` and `bugs.md`.

Added HTML name tags (in the form of an _entry_id_) for each entry
referenced in `bugs.md`.  Fixed links from outside of `bugs.html`
into `bugs.html` accordingly.

Where FAQ entries are referenced, a named tag is used so that if a
FAQ is ever renumbered, links outside of `faq.html` will still work.

Changed the _inventory_order_ of a compressed tarball from _300_
to _100000_.  While this may have been done for the manifest,
this changed had not yet been propagated into the `.entry.json` files.

Links to web sites that were in the for <URL> are now [URL](URL).

Performed `name www` to process all of the above.

Improved format of `authors.html`.  Full names are now bold.
Location codes are now links back into `location.html` and
location names (both default and common) are now italics.
Added _author_handle_ each author.

Changed `bin/gen-authors.sh` VERSION from "1.1 2024-02-25"
to "1.2 2024-03-09".

Improved format of `location.html` as location codes are now bold,
author counts in a given location are now bold, and location names
(both default and common) are now italics.

Changed `bin/gen-location.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-03-04".

Added italic location name after location code in entry
`index.html` files.

Changed `bin/output-index-author.sh` VERSION from "1.4.1 2024-02-23"
to "1.5 2024-03-04".

Added _Location of authors_ to the sidebar as a link to `location.html`.

TODO: While nearly all of the above mentioned changes are likely correct,
      they likely introduced a few errors that need correcting.
This commit is contained in:
Landon Curt Noll committed 2024-03-04 23:45:28 -08:00
1 parent 91c55a20fd
commit 2b92c89be8
1811 files changed
+11313 -9962

No files matched your search

+2 -5
View File
@@ -1,8 +1,8 @@
# tmp
The tools under this directory are an alpha release.
The [build-ioccc repo](https://github.com/ioccc-src/build-ioccc/tree/master)
will hold the beta and formal release of tools that will
The [bin directory](bin/index.html)
holds the formal release of tools that will
maintain the [official IOCCC web site](https://www.ioccc.org).
Currently these tools maintain the [experimental web site](https://ioccc-src.github.io/temp-test-ioccc/)
@@ -428,9 +428,6 @@ Examples:
This is a temporary location for potential tools that are used to
build and maintain the www.ioccc.org web site.
Eventually a separate [build-ioccc repo](https://github.com/ioccc-src/build-ioccc/tree/master)
will hold these tools.
### [things-todo.md](things-todo.md)
-1
View File
@@ -5,7 +5,6 @@
"full_name" : "First Middle Last",
"sort_word" : "lowercaselast",
"location_code" : "AU",
"location_name" : "Australia",
"email" : "user0@example.com",
"url" : "https:\/\/a.host0.example.com\/index.html",
"alt_url" : "https:\/\/b.host0.example.com\/index.html",
+2 -7
View File
@@ -8,7 +8,7 @@
# XXX - This is a temporary utility that will be replaced when
# the .entry.json files are built.
#
# Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
# Copyright (c) 2023,2024 by Landon Curt Noll. All Rights Reserved.
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby granted,
@@ -34,7 +34,7 @@
# setup
#
export VERSION="1.0 2023-06-06"
export VERSION="1.1 2024-03-04"
NAME=$(basename "$0"); export NAME
export JSTRENCODE="../../mkiocccentry/jparse/jstrencode"
export LOCATION="../../mkiocccentry/soup/location"
@@ -490,11 +490,6 @@ grep -v '^#' "$AUTHOR_HANDLE_TXT" | while read -r AUTHOR_HANDLE; do
else
echo ' "location_code" : "'"$LOCATION_CODE"'",'
fi
if [[ $LOCATION_NAME == null || -z $LOCATION_NAME ]]; then
echo ' "location_name" : null,'
else
echo ' "location_name" : "'"$LOCATION_NAME"'",'
fi
if [[ $EMAIL == null || -z $EMAIL ]]; then
echo ' "email" : null,'
else
+5 -5
View File
@@ -1875,7 +1875,7 @@
2004,gavin,gavin.md,4294967295,true,markdown,true,markdown source for gavin.html
2004,gavin,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git
2004,gavin,.path,4294967295,false,text,false,directory path from top directory
2004,hibachi,src/hibachi.c,20,true,c,true,entry source
2004,hibachi,hibachi.c,20,true,c,true,entry source
2004,hibachi,Makefile,30,true,makefile,true,entry Makefile
2004,hibachi,hibachi.orig.c,50,false,c,true,original source
2004,hibachi,src/configure,100,true,shellscript,true,GNU autoconf script
@@ -2801,10 +2801,10 @@
2012,konno,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git
2012,konno,.path,4294967295,false,text,false,directory path from top directory
2012,omoikane,Makefile,30,true,makefile,true,entry Makefile
2012,omoikane,nyaruko.alt2.c,40,true,c,true,alternate alternative source
2012,omoikane,nyaruko.alt.c,40,true,c,true,alternative source
2012,omoikane,nyaruko.orig.c,50,false,c,true,original source
2012,omoikane,nyaruko.c,100,true,c,true,source to generate random data
2012,omoikane,omoikane.alt2.c,40,true,c,true,alternate alternative source
2012,omoikane,omoikane.alt.c,40,true,c,true,alternative source
2012,omoikane,omoikane.orig.c,50,false,c,true,original source
2012,omoikane,omoikane.c,100,true,c,true,source to generate random data
2012,omoikane,try.alt.sh,100,true,shellscript,true,how to run alternative code
2012,omoikane,try.sh,100,true,shellscript,true,how to run
2012,omoikane,spoiler.html,200,true,html,false,SPOILER WARNING
1 # year dir file_path inventory_order OK_to_edit display_as display_via_github entry_text
1875 2004 gavin gavin.md 4294967295 true markdown true markdown source for gavin.html
1876 2004 gavin .gitignore 4294967295 true gitignore true list of files that should not be committed under git
1877 2004 gavin .path 4294967295 false text false directory path from top directory
1878 2004 hibachi src/hibachi.c hibachi.c 20 true c true entry source
1879 2004 hibachi Makefile 30 true makefile true entry Makefile
1880 2004 hibachi hibachi.orig.c 50 false c true original source
1881 2004 hibachi src/configure 100 true shellscript true GNU autoconf script
2801 2012 konno .gitignore 4294967295 true gitignore true list of files that should not be committed under git
2802 2012 konno .path 4294967295 false text false directory path from top directory
2803 2012 omoikane Makefile 30 true makefile true entry Makefile
2804 2012 omoikane nyaruko.alt2.c omoikane.alt2.c 40 true c true alternate alternative source
2805 2012 omoikane nyaruko.alt.c omoikane.alt.c 40 true c true alternative source
2806 2012 omoikane nyaruko.orig.c omoikane.orig.c 50 false c true original source
2807 2012 omoikane nyaruko.c omoikane.c 100 true c true source to generate random data
2808 2012 omoikane try.alt.sh 100 true shellscript true how to run alternative code
2809 2012 omoikane try.sh 100 true shellscript true how to run
2810 2012 omoikane spoiler.html 200 true html false SPOILER WARNING
Binary file not shown.
+5 -5
View File
@@ -1880,13 +1880,13 @@
2004/hibachi/2004_hibachi.tar.bz2
2004/hibachi/Makefile
2004/hibachi/README.md
2004/hibachi/hibachi.c
2004/hibachi/hibachi.orig.c
2004/hibachi/index.html
2004/hibachi/src/configure
2004/hibachi/src/configure.in
2004/hibachi/src/hibachi-start.sh
2004/hibachi/src/hibachi-start.sh.in
2004/hibachi/src/hibachi.c
2004/hibachi/src/localhost/CHANGES-OBFUSCATED.TXT
2004/hibachi/src/localhost/CHANGES-SPOILER.TXT
2004/hibachi/src/localhost/Img/cygwin-icon.gif
@@ -2806,10 +2806,10 @@
2012/omoikane/Makefile
2012/omoikane/README.md
2012/omoikane/index.html
2012/omoikane/nyaruko.alt.c
2012/omoikane/nyaruko.alt2.c
2012/omoikane/nyaruko.c
2012/omoikane/nyaruko.orig.c
2012/omoikane/omoikane.alt.c
2012/omoikane/omoikane.alt2.c
2012/omoikane/omoikane.c
2012/omoikane/omoikane.orig.c
2012/omoikane/spoiler.html
2012/omoikane/try.alt.sh
2012/omoikane/try.sh
+5 -5
View File
@@ -1880,13 +1880,13 @@
2004/hibachi/2004_hibachi.tar.bz2
2004/hibachi/Makefile
2004/hibachi/README.md
2004/hibachi/hibachi.c
2004/hibachi/hibachi.orig.c
2004/hibachi/index.html
2004/hibachi/src/configure
2004/hibachi/src/configure.in
2004/hibachi/src/hibachi-start.sh
2004/hibachi/src/hibachi-start.sh.in
2004/hibachi/src/hibachi.c
2004/hibachi/src/localhost/CHANGES-OBFUSCATED.TXT
2004/hibachi/src/localhost/CHANGES-SPOILER.TXT
2004/hibachi/src/localhost/Img/cygwin-icon.gif
@@ -2806,10 +2806,10 @@
2012/omoikane/Makefile
2012/omoikane/README.md
2012/omoikane/index.html
2012/omoikane/nyaruko.alt.c
2012/omoikane/nyaruko.alt2.c
2012/omoikane/nyaruko.c
2012/omoikane/nyaruko.orig.c
2012/omoikane/omoikane.alt.c
2012/omoikane/omoikane.alt2.c
2012/omoikane/omoikane.c
2012/omoikane/omoikane.orig.c
2012/omoikane/spoiler.html
2012/omoikane/try.alt.sh
2012/omoikane/try.sh
+5 -5
View File
@@ -1357,12 +1357,12 @@
2004/hibachi/.gitignore
2004/hibachi/Makefile
2004/hibachi/README.md
2004/hibachi/hibachi.c
2004/hibachi/hibachi.orig.c
2004/hibachi/src/configure
2004/hibachi/src/configure.in
2004/hibachi/src/hibachi-start.sh
2004/hibachi/src/hibachi-start.sh.in
2004/hibachi/src/hibachi.c
2004/hibachi/src/localhost/CHANGES-OBFUSCATED.TXT
2004/hibachi/src/localhost/CHANGES-SPOILER.TXT
2004/hibachi/src/localhost/Img/cygwin-icon.gif
@@ -2091,10 +2091,10 @@
2012/omoikane/.gitignore
2012/omoikane/Makefile
2012/omoikane/README.md
2012/omoikane/nyaruko.alt.c
2012/omoikane/nyaruko.alt2.c
2012/omoikane/nyaruko.c
2012/omoikane/nyaruko.orig.c
2012/omoikane/omoikane.alt.c
2012/omoikane/omoikane.alt2.c
2012/omoikane/omoikane.c
2012/omoikane/omoikane.orig.c
2012/omoikane/spoiler.html
2012/omoikane/try.alt.sh
2012/omoikane/try.sh