Commit Graph
4853 Commits
Author SHA1 Message Date
Landon Curt Noll 1cb03b400a add topbar phase 2024-04-16 13:34:45 -07:00
Landon Curt Noll a192eff9b2 rename topnav to navbar
This one of the parts of the change to the [look and feel
change](https://github.com/ioccc-src/temp-test-ioccc/issues/2273#issuecomment-2059754857)
wrote about.

Stay tuned ...
2024-04-16 12:22:49 -07:00
Landon Curt Noll 775acc30ab place entry index.html at the bottom of secondary inventory 2024-04-16 11:07:55 -07:00
Landon Curt Noll 8959c9a750 Merge pull request #2292 from xexyl/help-make-rule 2024-04-16 09:45:29 -07:00
Cody Boone Ferguson 100acd0408 Make website web site in Makefile for consistency 2024-04-16 06:54:19 -07:00
Cody Boone Ferguson d4c7fd888f Typo fix in make help 2024-04-16 06:52:54 -07:00
Cody Boone Ferguson be83827bda Improve make help and typo fixes in Makefile
The make help rule now has a summary of each rule so that one need not
check the Makefile every time. Of course for more details they still
have to but it's helpful for those who know what they need to do but
still might not remember all the rule names (as there are quite a few).

Typo fixes include things like incorrect statements (in comments) of
what a rule does, some being yank paste errors.
2024-04-16 06:49:42 -07:00
Landon Curt Noll 476b0d45f0 replace many more obsolete a name tags with div
This HTML is now obsolete in HTML 5:

```html
<a name="faq0"></a>Section 0: Submitting entries to a new IOCCC
```

Instead we need to use the div HTML elements:

```html
<div id="faq0">Section 0: Submitting entries to a new IOCCC</div>
```

Changed `bin/gen-authors.sh` VERSION from to "1.5 2024-04-15"
to "1.6 2024-04-15".

Changed `bin/gen-location.sh` VERSION from to "1.1.3 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/gen-years.sh` VERSION from to "1.1.1 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/output-index-author.sh` VERSION from to "1.6.1 2024-04-13"
to "1.7 2024-04-15".

Changed `bin/output-index-inventory.sh` VERSION from to "1.2.5 2024-04-13"
to "1.3 2024-04-15".

Changed `bin/output-year-index.sh` VERSION from to "1.2.2 2024-04-14"
to "1.3 2024-04-15".

Changed `bin/status2html.sh` VERSION from to "1.1.4 2024-04-13"
to "1.2 2024-04-15".

Run `make www` to perform the above.

TODO: Check this fix with the Nu HTML 5 validator.

TODO: Look for other HTML 5 warnings and errors.
2024-04-15 17:52:21 -07:00
Landon Curt Noll 783f6550a7 fix h2 div containment conflict
It turns out that one cannot have a div element inside an h2 element.

This does not work:

```html
<h2><div id="copyright">Copyright and CC BY-SA 4.0 License</div></h2>
```

Instead we need to do:

```html
<div id="copyright"><h2>Copyright and CC BY-SA 4.0 License</h2></div>
```

We are testing a fix for the top level HTML files.

Run `make gen_top_html` to perform the above and test under macOS.

TODO: Apply this type of fix across the entire web site if all is well.
2024-04-15 17:15:38 -07:00
Landon Curt Noll 759bb42717 try to fix h2 div containment conflict
It turns out that one cannot have a div element inside an h2 element.

Testing a potential fix for the top level `index.html`
whereby the h2 element sits inside the div element.
2024-04-15 17:09:12 -07:00
Landon Curt Noll 51038961cb replace obsolete a name tags with div
This HTML is now obsolete in HTML 5:

```html
<a name="faq0"></a>Section 0: Submitting entries to a new IOCCC
```

Instead we need to use the div HTML elements:

```html
<div id="faq0">Section 0: Submitting entries to a new IOCCC</div>
```

We are testing a fix for the top level HTML files.

Run `make gen_top_html` to perform the above and test under macOS.

TODO: Apply this type of fix across the entire web site if all is well.
2024-04-15 17:00:38 -07:00
Landon Curt Noll a595fdded6 fix invalid HTML center tag
Fixed the improper use of HTML center tag when building `authors.html`.

Changed `bin/gen-authors.sh` VERSION from to "1.4 2024-04-15"
to "1.5 2024-04-15".

Run `make gen_authors` to perform the above and test under macOS.
2024-04-15 16:03:24 -07:00
Landon Curt Noll 9265a9e129 fix emloty 2nd level header warning
Removed empty 2nd level header from top level `index.html`
to remove Nu HTML check warning.

Run `make gen_top_html` to perform the above and test under macOS.
2024-04-15 15:49:57 -07:00
Landon Curt Noll 71217125e7 fix bin/gen-authors.sh
Fix `bin/gen-authors.sh` to not issue invalid "</br>" HTML tags.

Changed `bin/gen-authors.sh` VERSION from "1.3.3 2024-04-13"
to "1.4 2024-04-15".

Run `make gen_authors` to perform the above and test under macOS.
2024-04-15 15:41:15 -07:00
Landon Curt Noll e0a62bf5d3 fix bin/gen_top_html
Fix `bin/gen_top_html` to generate the proper Nu HTML check URLs.

Changed `bin/gen_top_html` VERSION from "1.3 2024-04-14"
to "1.4 2024-04-15".

Remove improper "xmlns:cc="http://creativecommons.org/ns#"
from `inc/inc/footer.default.html`.

Run `make gen_top_html` to perform the above and test under macOS.

TODO: If this is successful, rebuild all other constructed HTML files.
2024-04-15 15:35:59 -07:00
Landon Curt Noll f7f5a86441 test xmlns:cc error fix
According to the Nu Html Checker:

((ERROR)) Attribute xmlns:cc not allowed here:
From line 465, column 3; to line 465, column 48

This is a hand edit of index.html to test this fix.
2024-04-15 15:11:27 -07:00
Landon Curt Noll 1a584c4e56 fix shellcheck errors in bin/gen-status.sh 2024-04-15 11:25:49 -07:00
Landon Curt Noll bdccb9c4a1 remove man page for tool that no longer exists 2024-04-15 11:19:01 -07:00
Landon Curt Noll eb52e94bf9 Update header of guidelines.md and rules.md based on status.json
In a few cases, the error message related to a file or directory
test was corrected.

Changed `bin/gen-sitemap.sh` VERSION from "1.3.6 2024-04-13"
to "1.3.7 2024-04-14".

Changed `bin/gen-year-index.sh` VERSION from "1.0.6 2024-04-13"
to "1.0.7 2024-04-14".

Changed `bin/untar-year.sh` VERSION from "1.0.1 2024-04-13"
to "1.0.2 2024-04-14".

Updated `bin/gen-status.sh` to change the header of `next/guidelines.md`
and `next/rules.md` to match the _contest_status_ in `status.json`.

Moved `make gen_top_html` after `make gen_status` in `make www`
and in `make quick_www` rules in the top Makefile.

Changed `bin/gen-status.sh` VERSION from "1.2.1 2024-04-13"
to "1.3 2024-04-14".

Fixed the DESCRIPTION for `next/guidelines.html`.

Run `make www` to perform the above and test under macOS.
2024-04-14 23:49:24 -07:00
Landon Curt Noll 6a67018538 change test files that do not end in .txt to view via GitHub 2024-04-14 20:51:45 -07:00
Landon Curt Noll 54dcb885ee improve display_via_github and display_as values
Fixed some inconsistent use of display_via_github and display_as values.
2024-04-14 19:24:41 -07:00
Landon Curt Noll d50c8b7184 change .path files to be loaded from GitHub 2024-04-14 18:35:13 -07:00
Landon Curt Noll 518a6336d0 add rules, guidelines, fix HTML code, move compressed tarball in inventory
By changing the _inventory_order_ of the compressed tarball from
**100000** to **1415926535**, the compressed tarball will land at
the top of the secondary file list and remain still easy to find.

Updated the `manifest.numbers` spreadsheet and rebuilt
the `.entry.json` files.

Added `next/` directory to hold the next IOCCC rules and guidelines.
Added `next/README.md` that `bin/gen-top-html.sh` uses to form
the `next/index.html` file.

Added _Rules and Guidelines_ link to the sidenav bar to link to the
`next/index.html` file.

Added _IOCCC Rules_ as `next/rules.md` that `bin/gen-top-html.sh`
uses to form the `next/rules.html` file.

Added _IOCCC Guidelines_ as `next/guidelines.md` that `bin/gen-top-html.sh`
uses to form the `next/guidelines.html` file.

Changed `bin/gen-top-html.sh` VERSION from "1.2.4 2024-04-13"
to "1.3 2024-04-14".

Prevent `pandoc(1)` from interpreting the commented out language
of a markdown code block as a code class.  So a markdown such as:

````
``` <!---sh-->
...
```
````

that produced HTML of the form:

```html
<pre class="&lt;!---sh--&gt;"><code>...</code></pre>
```

will now produce HTML of the form:

```html
<pre><code>...</code></pre>
```

NOTE: Before when the language of a markdown code block
was not commented, the HTML produced by `pandoc(1)` was
oddly indented with extra whitespace on the first line
of the code block.  While commenting out the language
of the code block removed some of the odd intending,
it left a weird class in the HTML pre block that
surrounded the HTML code block.  This hack prevents
`pandoc(1)` from assigning a class to the HTML pre block.

Changed `in/md2html.sh` VERSION from "1.2.1 2024-04-13"
to "1.3 2024-04-14".

Added `make gen_sitemap` to end of both `make www` and `make
quick_www` in top level Makefile.

Ram `make www` to test under macOS and to perform the above.

**IMPORTANT NOTE**: The current `next/rules.md` and `next/guidelines.md`
are simply the 2020 IOCCC Rules and Guidelines converted into
markdown form.  There are **NOT** the Rules and Guidelines that
will be used the IOCCC MOCK, nor the next IOCCC.

TODO: Improve the `bin/gen-status.sh` tool to modify the top of the
      `next/rules.md` and `next/guidelines.md` files to keep them
      in sync with the _contest_status_ as found in `status.json`.

TODO: Improve the look and feel of the `next/rules.md` and
      `next/guidelines.md` markdown files.
2024-04-14 16:54:24 -07:00
Landon Curt Noll a672335d2d Merge pull request #2291 from xexyl/manifest 2024-04-14 10:30:21 -07:00
Landon Curt Noll 166861ba3e Merge pull request #2290 from xexyl/mullender84 2024-04-14 10:28:49 -07:00
Landon Curt Noll b4183ddfc1 Merge pull request #2289 from xexyl/laman1984 2024-04-14 10:28:35 -07:00
Landon Curt Noll 66e7e8611d Merge pull request #2288 from xexyl/mistake-2013-clobber 2024-04-14 10:26:32 -07:00
Landon Curt Noll 60ba616895 Merge pull request #2287 from xexyl/typos-faq 2024-04-14 10:26:00 -07:00
Cody Boone Ferguson e9da5984c0 Manifest updates and fixes
Change 'download entry' to 'download entry tarball' as 'download entry' can be
slightly ambiguous: is it the source file or is it the entire entry? Perhaps
'download entire entry' could also be used but that might be going too far.

Change 'markdown source for index.html' to 'markdown source for this web page'
to match the index.html description in the manifest and because it makes more
sense this way.

Changed order of a.out.h and gentab.c in 1984/mullender in manifest: since
a.out.h description refers to gentab.c (as it's used in gentab.c) list gentab.c
first.

With this commit notwithstanding any possible manifest changes (which would
likely be for all other entries too) the index.html files of the entries from
1984 should be considered completely reviewed. The 1984/index.html file might
be done too but this depends on a discussion taking place.
2024-04-14 09:34:49 -07:00
Cody Boone Ferguson 878235d9b2 Typo and format fixes 1984/mullender/README.md
Numerous typo fixes (like in links with an extraneous ')') and format fixes
were done.

Rebuilt index.html.
2024-04-14 09:34:04 -07:00
Cody Boone Ferguson dc8b61cb85 Fix 1984/laman try section
The try.sh script ran commands that were explicitly listed under try.sh in the
try section.

Rebuilt index.html.
2024-04-14 09:33:18 -07:00
Cody Boone Ferguson c40b50f154 Fix make clobber in 2013/misake 2024-04-14 08:31:20 -07:00
Cody Boone Ferguson 153b216279 Fix several typos in FAQ 2024-04-14 07:37:37 -07:00
Landon Curt Noll 311c97c8a6 fix links in built HTML files
Fixed the broken links for CC BY-SA 4.0 related icons.

Fixed broken Makefile and C code links in topnav bar
for entries.

Changed `bin/all-run.sh` VERSION from "1.3.2 2024-02-26"
to "1.3.3 2024-04-13"

Changed `bin/all-years.sh` VERSION from "1.0.2 2024-02-26"
to "1.0.3 2024-04-13"

Changed `bin/chk-entry.sh` VERSION from "1.1.5 2024-03-27"
to "1.1.6 2024-04-13"

Changed `bin/gen-authors.sh` VERSION from "1.3.2 2024-03-26"
to "1.3.3 2024-04-13"

Changed `bin/gen-location.sh` VERSION from "1.1.2 2024-03-26"
to "1.1.3 2024-04-13"

Changed `bin/gen-other-html.sh` VERSION from "1.0.3 2024-03-28"
to "1.0.4 2024-04-13"

Changed `bin/gen-sitemap.sh` VERSION from "1.3.5 2024-04-13"
to "1.3.6 2024-04-13"

Changed `bin/gen-status.sh` VERSION from "1.2 2024-03-30"
to "1.2.1 2024-04-13"

Changed `bin/gen-top-html.sh` VERSION from "1.2.3 2024-04-12"
to "1.2.4 2024-04-13"

Changed `bin/gen-year-index.sh` VERSION from "1.0.5 2024-03-28"
to "1.0.6 2024-04-13"

Changed `bin/gen-years.sh` VERSION from "1.1 2024-03-30"
to "1.1.1 2024-04-13"

Changed `bin/manifest.entry.json.awk` VERSION from "1.1 2024-02-11"
to "1.1.1 2024-04-13"

Changed `bin/md2html.sh` VERSION from "1.2 2024-03-30"
to "1.2.1 2024-04-13"

Changed `bin/output-index-author.sh` VERSION from "1.6 2024-03-31"
to "1.6.1 2024-04-13"

Changed `bin/output-index-inventory.sh` VERSION from "1.2.4 2024-03-27"
to "1.2.5 2024-04-13"

Changed `bin/output-year-index.sh` VERSION from "1.2 2024-03-30"
to "1.2.1 2024-04-13"

Changed `bin/pandoc-wrapper.sh` VERSION from "1.6 2024-03-31"
to "1.6.1 2024-04-13"

Changed `bin/quick-readme2index.sh` VERSION from "1.1.3 2024-03-26"
to "1.1.4 2024-04-13"

Changed `bin/readme2index.sh` VERSION from "1.2.2 2024-02-26"
to "1.2.3 2024-04-13"

Changed `bin/sort.gitignore.sh` VERSION from "1.1.5 2024-04-04"
to "1.1.6 2024-04-13"

Changed `bin/status2html.sh` VERSION from "1.1.3 2024-04-12"
to "1.1.4 2024-04-13"

Changed `bin/subst.default.sh` VERSION from "1.2.2 2024-02-26"
to "1.2.3 2024-04-13"

Changed `bin/subst.entry-index.sh` VERSION from "1.3.2 2024-03-26"
to "1.3.3 2024-04-13"

Changed `bin/subst.year-index.sh` VERSION from "1.1.2 2024-03-26"
to "1.1.3 2024-04-13"

Changed `bin/tar-entry.sh` VERSION from "1.3.4 2024-03-27"
to "1.3.5 2024-04-13"

Changed `bin/tar-year.sh` VERSION from "1.2.1 2024-03-28"
to "1.2.3 2024-04-13"

Changed `bin/untar-entry.sh` VERSION from "1.0.1 2024-03-26"
to "1.0.2 2024-04-13"

Changed `bin/untar-year.sh` VERSION from "1.0 2024-03-28"
to "1.0.1 2024-04-13"

Run `make www sitewap` to test and perform the above.
2024-04-13 18:22:03 -07:00
Landon Curt Noll 1c7e42841d Merge pull request #2286 from xexyl/make-compat-faq
Add FAQ 3.19: make(1) compatibility
2024-04-13 17:07:31 -07:00
Landon Curt Noll a2d8249e86 improve the footer of HTML files
We improve the `inc/footer.default.html` file to make
the _Copyright and CC BY-SA 4.0 License_ clear.

We add `license.md` and generate `license.html` (via `make
gen_top_html`) so that key features and terms of the _Copyright and
CC BY-SA 4.0 License_ are accessible.

Add CC BY-SA 4.0 license images into the `png/` directory.

FYI: We use the license to allow the open use of IOCCC entry code,
and at the same time, we help ensure that those working on the IOCCC
have proper Attribution including, of course, the IOCCC winners
themselves!  The _Copyright and CC BY-SA 4.0 License_ help ensure
that everyone may enjoy the IOCCC.

Added '#copyright' to all generated HTML pages so that the
_Copyright and CC BY-SA 4.0 License_ may be reached.

Changed `bin/gen-top-html.sh` VERSION from "1.2.2 2024-03-26"
to "1.2.3 2024-04-12".

Fix `bin/gen-sitemap.sh` to remove requirement of `ioccc.tar.bz2`.

Changed `bin/gen-sitemap.sh` VERSION from "1.3.4 2024-03-27"
to "1.3.5 2024-04-13".

Perform `make www sitemap` to perform the above.

We also give a _hint_ as to the next project.

TODO: Complete that next project we are _hinting_ at.

TODO: Review the work being done by a web designer to see
      how their work might be incorporated into the web site.
2024-04-13 17:01:37 -07:00
Cody Boone Ferguson 1023fe227f Add FAQ 3.19: make(1) compatibility
This FAQ entry explains that the IOCCC only supports GNU make(1)
Makefiles.
2024-04-13 06:49:34 -07:00
Landon Curt Noll 3ddbac9e6b improve how markdown code language is commented
We added a space between the markdown triple code mark
and language that was enclosed in HTML comments.

So a line of the form:

````
```<!---c--->
````

became:

````
``` <!---c--->
````

This was done to **help** some code see that the HTML comment
string was not a markdown code specifier.   Not all code
understands this after this changed.  For example, `pandoc(1)`
still forms HTML classes of the form "&lt;!---c--&gt;"
when it encounters the above mentioned change.

We also fixed a problem with `2019/dogon/README.md` regarding
a markdown code block.

We also fixed a problem with `2020/yang/README.md` regarding
a markdown code block.
2024-04-12 11:45:50 -07:00
Landon Curt Noll c549f6585e add FAQ about feedback, improve contact, update bin/status2html.sh
We added FAQ 0.5 about how to make a suggestion on IOCCC rules, guidelines and tools.

We added a mastodon tag for _contact.html#mastodon_.

We made a minor improvement to bin/status2html.sh about when
the IOCCC is open for submissions.

Changed `bin/status2html.sh` VERSION from "1.1.2 2024-03-26"
to "1.1.3 2024-04-12".

TODO: Complete content that hinted at by what is currently broken links.
      We pushed this change thru on the FAQ now, because we were aware of
      others wishing to submit a FAQ related pull request.
2024-04-12 10:53:17 -07:00
Landon Curt Noll 0a755f43a5 Merge pull request #2285 from xexyl/fmt-fix-thanks
Format fixes in thanks-for-fixes.md
2024-04-12 09:30:46 -07:00
Cody Boone Ferguson 4f40fdbc31 Typo fixes in thanks file 2024-04-08 06:59:12 -07:00
Cody Boone Ferguson 2604cdba00 More minor format fixes in thanks file 2024-04-07 06:41:26 -07:00
Cody Boone Ferguson efefed244f Format fixes in thanks-for-fixes.md 2024-04-07 06:37:05 -07:00
Landon Curt Noll 989129b0ee Merge pull request #2284 from xexyl/baruch90-inabiaf
Fix bug status of 1990/baruch in bugs.md
2024-04-06 10:56:12 -07:00
Cody Boone Ferguson 5125a3760e Fix bug status of 1990/baruch in bugs.md
The bugs.md/bugs.html file stated it was a bug to be fixed but it's
actually a feature, not a bug, and that's how it is in the README.md for
the entry too. Thus bugs.md was updated and the bugs.html was
regenerated.
2024-04-06 06:30:51 -07:00
Landon Curt Noll fd0e52c73e Merge pull request #2283 from xexyl/manifest
Manifest updates
2024-04-05 11:19:50 -07:00
Landon Curt Noll 19a82078d8 Merge pull request #2282 from xexyl/80s-index-html-files
More fixes in 1980s README.md files
2024-04-05 11:12:04 -07:00
Cody Boone Ferguson e1e4ad36ee Manifest updates
Change 'entry web page' to 'this web page' as per discussion on GitHub.

Rebuilt .entry.json and index.html files for all entries.
2024-04-05 07:42:24 -07:00
Cody Boone Ferguson f4c21b9094 More fixes in 1980s README.md files
Where there is not a direct post when referring to a USENET group (for
results etc.) it is no longer a link to the group itself but just made
italic. That means only 1984 has it and only for the contest
announcement.

In 1989 the point about the Makefiles for fubar and tromp have been
clarified a bit. They were ambiguous before: it could have been read as
the Makefile for ALL entries but it was only for that entry. Also since
these points are about the Makefile (and in particular portability of
the original or alt versions) I moved the paragraph to right under the
part about running make to compile (this part has some additional fixes
that will be applied later on).

The years: 1984, 1985, 1986, 1987 and 1989 were updated. There was
nothing to do (for this commit) for 1988 but there is a change that will
be made after discussion.
2024-04-05 06:36:15 -07:00
Landon Curt Noll 45c6ddde5c improve top link for year level index.html pages
The top link in the topnav bar for or year level `index.html` pages
now links to `years.html` instead of the very top level repo/web
`index.html` page.

Changed `bin/subst.year-navbar.awk` VERSION from "1.1 2024-03-02"
to "1.2 2024-04-04".

Make `make sort_gitignore` less verbose.

Changed `bin/sort.gitignore.sh` VERSION from "1.1.4 2024-03-28"
to "1.1.5 2024-04-04".

Performed `make www` to implement the above and test on macOS.
2024-04-04 15:29:30 -07:00