Commit Graph
4778 Commits
Author SHA1 Message Date
Landon Curt Noll 085a708660 Added comments about where markdown content came from
The HTML files now include a comment indicating from where the main
part of the markdown content.

Changed `bin/gen-other-html.sh` VERSION from "1.0 2024-02-27"
to "1.0.1 2024-03-08".

Changed `bin/gen-top-html.sh` VERSION from "1.2 2024-02-29"
to "1.2.1 2024-03-08".

Changed `bin/gen-year-index.sh` VERSION from "1.0.1 2024-02-23"
to "1.0.2 2024-03-08".

Changed `bin/md2html.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-03-08".

Changed `bin/quick-readme2index.sh` VERSION from "1.1.1 2024-02-23"
to "1.1.2 2024-03-08".
2024-03-08 22:32:03 -08:00
Landon Curt Noll adaea3becc fix minor shellcheck issue
Fixed minor shellcheck issue with gen-authors.sh, gen-location.sh,
output-index-author.sh
2024-03-08 16:07:41 -08:00
Landon Curt Noll 9843a74862 add terms name to FA6.9 2024-03-08 15:18:22 -08:00
Landon Curt Noll be0a0572da add faq.html#pull_request name for FAQ 6.10 2024-03-08 14:52:59 -08:00
Landon Curt Noll 900889b23b Merge pull request #2244 from xexyl/readmes
Format / typo check YYYY/README.md files
2024-03-08 10:54:16 -08:00
Landon Curt Noll 60ba3dbb45 Merge pull request #2242 from xexyl/update-faq
Minor fixes and updates to FAQ
2024-03-08 10:53:23 -08:00
Cody Boone Ferguson e6040e083c Format / typo check YYYY/README.md files
It should be pointed out that there are a few inconsistencies as noted
below.

In some years the title of entries that were explicitly listed were
linked to but as the README.md files no longer have the title it was not
as easy to locate the title (I could go back in archive/historic and I
did in some cases but I was trying to hurry this up to close #3).

It's most likely that some have backticks surrounding certain words like
gcc or something else but not in all files. An example that might be
there is '#define'.

Some wording is different. Usually this is due to the original wording
which I did not think was good to change. There might be other cases
that were missed as well. One thing is that comes to mind is that in
some README.md files it refers to the Makefile to check for build
instructions, in others it refers to the index.html file and in some it
refers to both. But the index.html has how to build so they should
probably all say index.html and not refer to the Makefile. This was also
done in a rush.

There might be other inconsistencies or things that might want to be
fixed but whether it's worth it given is unclear at this time. It can be
argued that the reference to the Makefiles for build instructions is a
historical comment to keep there as an example of why not to change it.

There were other things I noticed that I could not address or did not
feel were necessary but with this commit an important task is can likely
be considered done unless it is decided that some of these should be
fixed or if looking at the rendered output there is a problem.
2024-03-07 10:27:49 -08:00
Cody Boone Ferguson b49ea14615 Remove some links to check (task done) in todo 2024-03-07 09:00:10 -08:00
Cody Boone Ferguson 40e3808b78 Minor fixes and updates to FAQ
'FAQ 6.10: How does someone make a change to a file and submit that
change as a GitHub pull request?' has been updated to note that the
authors of winning entries tend to have more deference but that the
judges still have the final say in the matter.

There were some typos (including links) and formatting fixes as well.
2024-03-07 08:54:54 -08:00
Cody Boone Ferguson d82d244696 Improve thanks file build 2024-03-07 08:40:53 -08:00
Landon Curt Noll 059f3e4079 Merge pull request #2240 from xexyl/faq1-2
Make improvements to FAQ 1.2
2024-03-06 10:14:04 -08:00
Cody Boone Ferguson 605ba1110f Make improvements to FAQ 1.2
This is not completed. I still have to look at the section '2020 Dec 30
thru 202y MMM DD - Work on the temp-test-ioccc GitHub repo' and anything
beyond it.
2024-03-06 07:42:26 -08:00
Landon Curt Noll 02cc0ef962 remove XXX from Makefile, update sitemap.xml 2024-03-05 23:21:34 -08:00
Landon Curt Noll e1aeac4dae updated FAQ 1.2 with detailed repo history
The "FAQ 1.2: What is the history of the IOCCC web site"
entry with detailed information about GitHub repo history.
2024-03-05 14:45:49 -08:00
Landon Curt Noll fae62baf91 update sitemap for bin/gen-authors.sh 2024-03-05 00:22:44 -08:00
Landon Curt Noll 2b92c89be8 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.
2024-03-04 23:45:28 -08:00
Landon Curt Noll 91c55a20fd Merge pull request #2238 from xexyl/pr-faq-html
Update faq.html for faq.md updates
2024-03-01 13:57:29 -08:00
Cody Boone Ferguson bbd903dcf3 Update faq.html for faq.md updates 2024-03-01 10:51:48 -08:00
Landon Curt Noll c90fe984a5 Merge pull request #2237 from xexyl/pull-requests 2024-03-01 10:50:03 -08:00
Landon Curt Noll cb1ac89aa0 Merge pull request #2236 from xexyl/human-snakes 2024-03-01 10:34:04 -08:00
Cody Boone Ferguson d40fe40c39 Add FAQ entry about opening pull requests
This used commit afb9e54a4c as an example
(an example commit and pull request was suggested to me by Landon).

Note that I did NOT update the html file as I am not clear how to do
this (for the moment).
2024-03-01 05:59:21 -08:00
Cody Boone Ferguson afb9e54a4c Add fun link to 2020/ferguson1/play.sh
Did you know some people believe in snake human hybrids? I added a link to the
script that discusses this and gives supposed examples.
2024-03-01 05:51:11 -08:00
Landon Curt Noll b19fd8fe08 Merge pull request #2235 from xexyl/typo-index 2024-02-29 10:20:25 -08:00
Landon Curt Noll 94fcdcbf14 Merge pull request #2234 from xexyl/typo-news 2024-02-29 10:19:39 -08:00
Cody Boone Ferguson 0e65e7729c Typo fix in index.{md,html}
'sort' -> 'sorted'. This is because the former CAN suggests that one
might be able to sort the list when actually the list is sorted (it is
also synchronous with the previous list where it says sorted, not sort).
2024-02-29 07:32:38 -08:00
Cody Boone Ferguson 7b2b7e4a90 Typo fix in news.{md,html}
Make year 2024 not 2023.
2024-02-29 07:30:22 -08:00
Landon Curt Noll c77ec50624 fix XML sitemap
Files under `archive/historic` did not have the correct path.

Changed `bin/gen-sitemap.sh` VERSION from "1.1 2024-02-27"
to "1.2 2024-02-29".
2024-02-29 01:33:19 -08:00
Landon Curt Noll 02296e2a18 generate XML sitemap
Added `bin/gen-sitemap.sh` to generate the XML sitemap.

NOTE: We are including in the XML sitemap, all files under
`archive/historic`, `bin`, `inc`, and well as `authors`.
NOTE: We are note sure these should be included in the sitemap.

Added `make gen_sitemap` to the top level `Makefile`.
Both `make quick_www` and `make www` perform `make gen_sitemap` last.

Run `make gen_sitemap` to perform the above.
2024-02-29 01:27:25 -08:00
Landon Curt Noll fb43b1dfef rename bin/gen-top-html.sh, added archive/historic/index.html
We rename `bin/gen-top-md2html.sh` to `bin/gen-top-html.sh`.

Modified the `bin/gen-top-html.sh` tool to build `archive/historic/index.html`
from `archive/historic/README.md`.

In `bin/gen-top-html.sh` changed VERSION from "1.1 2024-02-28"
to "1.2 2024-02-29".

Renamed `make gen_top_md2html` to `gen_top_html` in the top level `Makefile`.

Improved `archive/historic/README.md`.

Updated `robots.txt` to include the Sitemap directive.

Moved unused `valid-html401.png` to `png/valid-html401.png`.
This png image may be used later.

Performed `make gen_top_html` which rebuilt all top level HTML files
as well as `bin/index.html` and `inc/index.html`.
2024-02-29 00:16:05 -08:00
Landon Curt Noll 0f8a0a3af9 build remaining top level web pages
The level judges.html, news.html, and index.html pages
were converted to markdown.

The `bin/gen-top-md2html.sh` tool was adjusted to build
HTML from judges.md, news.md, and index.md.

Modified the `bin/gen-top-md2html.sh` tool to build `bin/index.html`
from `bin/README.md`.

Modified the `bin/gen-top-md2html.sh` tool to build `inc/index.html`
from `inc/README.md`.

In `bin/gen-top-md2html.sh` changed VERISON from "1.0 2024-02-24"
to "1.1 2024-02-28".

Ran `gen_top_md2html` to perform the above.
2024-02-28 18:30:57 -08:00
Landon Curt Noll 21c3e89a2f improve tarballs
The `make quick_www` and `make www` rules in the top level `Makefile`
no longer build compressed tarballs.

The tools that form compressed tarballs now add _--no-xattrs --no-selinux_
when building compressed tarballs.

Changed `bin/tar-all.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Changed `bin/tar-entry.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Changed `bin/tar-year.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Added `make tar` rule to the top level `Makefile` to create all
compressed tarballs.  In particular `make tar` calls:

* make clobber
* make genpath
* make genfilelist
* make verify_entry_files
* make form_entry_tarball
* make form_year_tarball
* make form_all_tarball

Performed `make tar` in an effort to see of tar warnings such as
have been fixed:

```
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
```

**NOTE**: We to **NOT** plan to rebuild compressed tarballs while some of the
((**top priority**)) issues are active.  We only rebuilt the compressed tarballs
as a test.
2024-02-27 23:21:32 -08:00
Landon Curt Noll 9d3438fb88 build missing HTML files for entries
Setup a simple topnav for missing HTML files for entries.

Added `bin/gen-other-html.sh` to build entry HTML files from
markdown other than README.md to index.html HTML files.

Fixed duplicate link text in `2020/ferguson1/gameplay.md`.

Improved `inc/md2html.cfg` to support building the missing HTML
files for entries.

Added `make gen_other_html` to top level Makefile.
Added `make gen_other_html` to `make quick_www` and `make www`.

Fixed inventory links for year level index.html files.
Changed `bin/output-year-index.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Added missing lines in `manifest.numbers`.  Update the affected
`.entry.json` files.

The manifest (in both `manifest.numbers` and the collection of
manifests from of all entry `.entry.json` files) now match.  Errors
from `make verify_entry_files` will now abort both `make quick_www`
and `make www` rules in the top level `Makefile`.

Changed markdown files in manifest to have an _inventory_order_ of
_2000000000_ so that the `index.html` file will usually appear at
the start of the _Secondary files_ set for the "#inventory" section
of an entry's `index.html` file.

Changed compressed tar files (files that end in _.tar.bz2_) in
manifest to have an _inventory_order_ of _100000_ so that these
files will usually appear at the end of the _Primary files_ set for
the "#inventory" section of an entry's `index.html` file.

Added 'Jump to top` link above the _Primary files_ section.
Changed `bin/output-index-inventory.sh` VERSION from "1.1.1 2024-02-23"
to "1.2 2024-02-27".

Updated HTML files to perform the above via `make www`.
2024-02-27 22:36:20 -08:00
Landon Curt Noll 7babf792e4 Merge pull request #2233 from xexyl/todo 2024-02-27 08:52:08 -08:00
Landon Curt Noll 78260324c8 Merge pull request #2232 from xexyl/weasel-spec 2024-02-27 08:50:37 -08:00
Cody Boone Ferguson cbcf25af84 Update todo file
The task of weasel.spec was removed as it's complete.

Rather than have to open a link to find the links to check (many if not
all are probably done already but they have to be confirmed yet) at
issue 3 I have just put the direct links in the file.

Also removed the embed video task. It might be useful but it's probably
not worth delaying things more.
2024-02-27 08:19:16 -08:00
Cody Boone Ferguson cca70e1e0e Fix 2018/ferguson/weasel.spec for modern env 2024-02-27 08:15:55 -08:00
Landon Curt Noll 183523fbcd Merge pull request #2231 from xexyl/manifest 2024-02-25 10:34:39 -08:00
Cody Boone Ferguson 2e5372aa74 update index.html and .entry.json per recent manifest changes
Every index.html file (for entries) was updated as the tarball download
description was changed to 'download entry source' (though I think this
is a mistake as the C file is described as 'entry source' so it's
ambiguous - that might be fixed soon or it mightn't be until some other
changes are made that need a manifest update).
2024-02-25 06:09:28 -08:00
Cody Boone Ferguson 8eda569b32 update .entry.json files per recent manifest changes
Every .entry.json file was updated here because the text 'download
winning source' was changed to 'download entry source'.
2024-02-25 05:51:22 -08:00
Cody Boone Ferguson 6e9d2025c8 Fix path in update-manifest.sh
Due to renaming gen_entry.json.sh to gen_entry_json.sh the script was
broken.
2024-02-25 05:43:03 -08:00
Cody Boone Ferguson 0c26d70672 update manifest as per recent file changes 2024-02-25 05:41:54 -08:00
Cody Boone Ferguson 0b8ee4c521 Fix make clobber in several entries
This is for updating the manifest.
2024-02-25 05:31:57 -08:00
Landon Curt Noll 120869a4b2 add FAQ for IOCCC terms Author, Entry, and Submission 2024-02-25 01:17:05 -08:00
Landon Curt Noll ddb6c288b5 update all IOCCC documentation to refer to new IOCCC terms 2024-02-25 00:48:11 -08:00
Landon Curt Noll a1633df222 change bin files use of winner to use entry instead 2024-02-25 00:23:27 -08:00
Landon Curt Noll aa70cf88d0 build several top level HTML files
We build several top level HTML files whose content
comes from top level markdown files:

- CODE_OF_CONDUCT.html
- README.html
- bugs.html
- contact.html
- faq.html
- thanks-for-help.html

Added new `bin/gen-top-md2html.sh` to perform the above.

Added `make gen_top_md2html` rule to top level Makefile.
Added `make gen_top_md2html` to `make quick_www` and `make www`.

Improved top level jump links for `authors.html`.
Updated `bin/gen-authors.sh` to improve the top level jump links.
Changed `bin/gen-authors.sh` version from "1.0.1 2024-02-23"
to "1.1 2024-02-25".

Changed typo of "TITIE" into "TITLE".

Fixed `bin/subst.entry-index.sh` as per the above typo.
Changed `bin/subst.entry-index.sh` version from "1.2.1 2024-02-23"
to "1.2.2 2024-02-25".

Updated the `inc/md2html.cfg` config file to perform the above.

Performed `make quick_www` which updated `2000/natori/index.html`.
2024-02-25 00:15:52 -08:00
Landon Curt Noll 7b42fcd251 Merge pull request #2230 from xexyl/natori2000-try-full
Add note to 2000/natori wrt try.sh about Full Moon
2024-02-24 20:48:53 -08:00
Cody Boone Ferguson 9c470ca60b Add note to 2000/natori wrt try.sh about Full Moon
This seems like a good thing to point out as on a Full Moon it'll be the
same output and no variation at all. This note is in the README.md for
the try sections.

There was also a typo fix.
2024-02-24 08:38:24 -08:00
Landon Curt Noll c93d3e8a78 update HTML modified by make www 2024-02-23 19:20:56 -08:00
Landon Curt Noll 09b8de5081 improve exit code use in bin scripts
The use of exit codes and exit code ranges has been
made more consistent across most bin tools.
2024-02-23 19:19:55 -08:00