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

+1 -1
View File
@@ -59,7 +59,7 @@
},
{
"file_path" : "2004_jdalbec.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
indent
indent.c
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+3 -3
View File
@@ -16,7 +16,7 @@ The current status of this entry is:
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [2004 jdalbec in bugs.md](/bugs.md#2004-jdalbec).
For more detailed information see [2004 jdalbec bugs](../../bugs.html#2004_jdalbec).
## To use:
@@ -125,7 +125,7 @@ Perl.) The build file then compiles `jdalbec2.c]` and removes the
I don't think I'm abusing the [Makefile](Makefile) since I'm only using
147 characters including white space and the `#!` line and the
commented-out `-Wall -pedantic` options. The [rules for the
16th IOCCC](/2004/rules.txt) specifically allowed build files up to 521
16th IOCCC](../../2004/rules.txt) specifically allowed build files up to 521
characters long so my build file would have been well within
those limits. (What typo?)
@@ -191,7 +191,7 @@ it if you run into this feature (e.g. `1 22` instead of `122`).
Note: you may want to be sure you have a limit on stack size before trying this.
I ran it on Debian GNU/Linux and discovered that I did not have a limit on stack
size. Fortunately the OS killed the process after a while. This is consistent
with the output of [1996/schweikh3](/1996/schweikh3/schweikh3.c) which reports
with the output of [1996/schweikh3](../../1996/schweikh3/schweikh3.c) which reports
`malloc lied! Killed by SIGKILL`.
Arguments matching `/(?:.){10,}/` will produce visually incorrect
+8 -4
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../hoyle/index.html">&larr; hoyle</a>
<a class="Left" href="../index.html">&uarr; 2004 &uarr;</a>
<a class="Left" href="../kopczynski/index.html">kopczynski &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2004/jdalbec/jdalbec.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2004/jdalbec/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,7 +120,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#John_Dalbec">John Dalbec</a><br>
Location: <a href="../../location.html#US">US</a> <br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of
America</em> (<em>United States</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -134,7 +138,7 @@ code</a> below.</p>
<p>The current status of this entry is:</p>
<pre><code>STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a
href="/bugs.md#2004-jdalbec">2004 jdalbec in bugs.md</a>.</p>
href="../../bugs.html#2004_jdalbec">2004 jdalbec bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./jdalbec</span> number ...</span></code></pre></div>
<h2 id="try">Try:</h2>
@@ -207,7 +211,7 @@ file.</p>
<p>I don’t think I’m abusing the <a href="Makefile">Makefile</a> since
I’m only using 147 characters including white space and the
<code>#!</code> line and the commented-out <code>-Wall -pedantic</code>
options. The <a href="/2004/rules.txt">rules for the 16th IOCCC</a>
options. The <a href="../../2004/rules.txt">rules for the 16th IOCCC</a>
specifically allowed build files up to 521 characters long so my build
file would have been well within those limits. (What typo?)</p>
<p><code>gcc -E -Wall -pedantic</code> complains that trigraphs are
@@ -265,7 +269,7 @@ feature (e.g. <code>1 22</code> instead of <code>122</code>).</p>
trying this. I ran it on Debian GNU/Linux and discovered that I did not
have a limit on stack size. Fortunately the OS killed the process after
a while. This is consistent with the output of <a
href="/1996/schweikh3/schweikh3.c">1996/schweikh3</a> which reports
href="../../1996/schweikh3/schweikh3.c">1996/schweikh3</a> which reports
<code>malloc lied! Killed by SIGKILL</code>.</p>
<p>Arguments matching <code>/(?:.){10,}/</code> will produce visually
incorrect results (e.g., generation 1 starting from 1111111111 will