Commit Graph
117 Commits
Author SHA1 Message Date
Landon Curt Noll f08f87d92f checkpoint on updating the rules and guidelines
Added a `#weverything` div tag to the FAQ.

Expanded and improved(?) a number of rules and guidelines.
In particular, the consequences of the new mkiocccentry
repo have been put into the rules and guidelines.

This is a checkpoint from which we can review,
edit and improve.
2024-06-25 14:16:19 -07:00
Landon Curt Noll 4ee4c731f7 convert markdown copyright TAB chars into SPACE chars
While not strictly necessary, replacing the two ASCII tab characters
in the markdown copyright comment makes it easier to detect problematic
TAB indentation within markdown files.

After this commit, only 90 markdown files have leading ASCII TAB
characters.  And again, while not strictly necessary, we can consider
running expand on those 90 markdown files to see what effect that
might have on the HTML files they produce.

Replace leading ASCII TAB characters with multiples of 8 ASCII SPACE
characters (the default action of the `expand(1)` tool) might have
an negative effect on some HTML formatting where **hack-a-round**
formatting was attempted to fix broken indentation caused by
problematic ASCII TAB characters.

Think of this as a baseline for evaluating leading
TAB characters within markdown files.

TODO: Consider either using `expand(1)` to replace leading ASCII
TAB characters with multiples of 8 ASCII SPACE characters AND/OR
modifying the appropriate `bin` tool to convert leading ASCII TAB
characters into multiples of 8 ASCII SPACE characters.
2024-06-22 22:15:25 -07:00
Cody Boone Ferguson e4de97d300 Add FAQ about how to find author info
Since less information is shown on an entry's index.html page than in
the past a short FAQ entry about how to find the information seems like
a good idea to have.
2024-06-19 12:39:43 -07:00
Cody Boone Ferguson 9a26fead0b Minor format and typo fixes in FAQ 2024-06-19 09:48:07 -07:00
Cody Boone Ferguson 960a3503d7 Improve menu how-to in index, add to FAQ menus
The index.html file (from index.md) now links to the no JavaScript menu
for those who either wish to use a plaintext menu or for those who the
menu does not work (like I discovered with my iPhone 8 Plus - iOS 16
Safari, a bug that was fixed in iOS 17). It also links to a new FAQ
about the menus: how they work and also what to do if they don't work.
By 'how they work' this refers to on desktop/laptops, on mobile devices:
without JavaScript enabled and also on mobile phones and tablets in
portrait and also landscape mode plus on mobile devices wider than 1024
pixels and also the browser bug I referred to above.

This includes three new png files, screenshots of how it looks on an
iPhone 14 Pro Max (which should be like other mobile phones), one which
shows the iOS 16 Safari bug and one which shows desktops. These are of
course used in the FAQ.

Although not every html file has a link to the plaintext (i.e. the menu
for those with JavaScript disabled), it is hoped that these two changes
will help people navigate if they have a problem with the menus.
2024-06-18 07:10:46 -07:00
Cody Boone Ferguson a8500f8aad Fix two authors' info in 1995, update FAQ
The (same two) authors of 1995/heathbar and 1995/makarios had invalid
information, in one case email as well as in both the url and location.

The location was previously set to unknown (ZZ) but I knew from the
archive (which used to be what the README.md files which were the hint
files had until I was asked to remove that information which was done
November 2023) that it was US.

I also noticed, however, that the url was invalid and in one case the
email was invalid (it referred to the same domain).

With these problems in mind the url was changed to refer to the website
on the Internet Wayback Machine (in both), the email was set to null in
the one that had an email (now it's null in both) and the location_code
was set to US (in both).

I then did:

	touch 1995/heathbar/README.md 1995/makarios/README.md

so that I could do:

	make quick_www

as only two index.html files had to be updated. This also updated
authors.html and location.html, of course.

The FAQ was updated with more information on how to update author
information with the above two as an example and it now also says how to
validate json for those who want to make changes to author information
(or if anything else in the future is put in json).
2024-06-17 08:33:04 -07:00
Cody Boone Ferguson 826a6eb01a Typo fix menu item for location of authors
It should be 'Location of winning authors' (as it is now) but by mistake
there was an extra space ('Location of winning  authors'). Obviously
this is a huge commit as every html file with a menu (almost all) had to
be updated.
2024-06-17 05:57:52 -07:00
Cody Boone Ferguson 9c2553401b Fixes in contact.html and FAQ
The fixes in the FAQ correspond to the fixes in the contact.html file.

With this commit the contact.html file seems okay but the FAQ is not yet
looked at.
2024-06-16 11:05:26 -07:00
Cody Boone Ferguson ddd397a563 Improve menu and link title and consistency
A few page names were changed and menu link (titles) were changed too.
By page names it means either DESCRIPTION or HEADER_2 in
bin/md2html.cfg. Although it looks better and is more consistent, there
might be one or two that can be further improved.

Naturally every html file that is markdown based was updated.
2024-06-16 07:44:54 -07:00
Cody Boone Ferguson 6608eb3e62 Add missing 'p' in pull_request link in FAQ 2024-06-16 05:55:21 -07:00
Cody Boone Ferguson a98d8397a4 Fix consistency in menus and pages
In some pages at the top it had 'and' but in the menu it had instead a
'&'. The menus (JavaScript and otherwise) now has 'and' to match the
pages. The file nojs-menu.html has been checked for broken links and
indeed one at least was fixed. Very few top level html files need to be
checked now. Some that are entirely generated should be okay but links
will still be checked to be sure.

Some cases of '(Mis)features' from the previous commit were also
corrected to '(mis)features' as this is also part of menu and page
consistency.

The files markdown.{md,html} have had the menus updated too but there
are some other changes that were works in progress. This file is not
thus completed but will be sometime soon.
2024-06-15 11:11:37 -07:00
Cody Boone Ferguson e75f6cd869 Typo (one) fix in FAQ 2024-06-13 13:50:05 -07:00
Landon Curt Noll b9aea412aa remove on pages w/o inventory content, inventory link in coda 2024-06-11 22:19:00 -07:00
Landon Curt Noll 6e698b238a changed web site to website 2024-06-07 02:10:24 -07:00
Cody Boone Ferguson 695c903542 Fix no longer true statement in FAQ 4.1
The entry that was referred to (not named but I remember it as
1986/hague) as having an alternate version for the purpose that it
showed correct output but crashed was fixed quite some time back and so
this has been removed.
2024-06-06 07:34:29 -07:00
Cody Boone Ferguson b2ff4d58e6 Minor fixes in FAQ 3.20 + typo fixes
In the FAQ entry for downloading the tarballs (which has been renamed to
be a bit clearer) the example tarball for each kind (individual entry
and an entire year) it now links to the tarball in question so one can
more easily determine the path. It also shows where one can find the
tarballs (for each type). Other improvements have also been made but
this and the rest of the file will be further reviewed at another time.

Typo fixes.
2024-06-05 11:11:40 -07:00
Cody Boone Ferguson 20b9824ede Improvement and fixes to FAQ 3.20 2024-06-04 09:08:48 -07:00
Cody Boone Ferguson 5f66cb3138 Add FAQ 3.20 - about entry/year tarballs
This question is called '3.20 - How do I download individual entries or
entries of a given year?' and discusses both the individual entry
tarballs as well as the year based tarballs, each in a subsection. Each
part explains files that exist in the tarball and there are examples of
how one might make use of them after extracting the tarball. It gives an
example tarball name for each, including the path.

Two typo fixes were made in the FAQ 3.13 title (in the link at the top
and the actual question/answer as well).

Although the links in this new entry should work I have not yet checked
the file (though I did check those links added) and I will not until it
becomes clearer that not much more has to be done with the FAQ. Instead
I will focus on the entry html files and possibly together with that the
bugs.html file as well, to make sure of consistency.
2024-06-04 08:44:55 -07:00
Cody Boone Ferguson 8af06bbb30 Important typo fixes in FAQ
There were some cases where the wrong JSON member was referenced when
explaining a different JSON member (in author details).

Also to help clarify the part about if the value is unknown, I have
changed it to be 'it should be ...' rather than 'they should use' since
obviously the author themselves ought to know their email, URL, alt URL
etc. :-)
2024-05-31 09:23:10 -07:00
Cody Boone Ferguson f7e0f30365 Add FAQ 4.6 - about changes to main() args
As numerous entries had to have arg type or arg count in main() changed
(usually to do with clang but not always) it seems like this should be
added to the FAQ.
2024-05-31 09:08:56 -07:00
Landon Curt Noll 21793c1ab2 Merge pull request #2380 from xexyl/ta-ta
Fix links/formatting in thanks file up to 2011
2024-05-30 11:22:39 -07:00
Landon Curt Noll a78d78ccff fix use of temp-test-ioccc
Regarding use of `temp-test-ioccc` in current repo files:

We will ignore files under `tmp/` as they are going away.

We will ignore files under `bin/` as they will have their default `REPO_URL` value changed during the later parts of the **Great Fork Merge**.

We will ignore `*.html` files as the above changes to `bin/` tool will also change them during the later parts of the **Great Fork Merge**.

We will ignore `sitemap.xml` as the it will change during the later parts of the **Great Fork Merge**.

So this leaves for our consideration the files printed by this command:

```sh
find * -type f ! -name '*.html' ! -name sitemap.xml ! -path 'tmp/*' ! -path 'bin/*' -print0 | xargs -0 grep -l 'temp-test-ioccc'
```

We see 5 (3 sir), 3 cases:

* README.md index.md

The reference to `temp-test-ioccc` will be removed when a given section goes away as part of the later parts of the **Great Fork Merge**.

Nothing needs to be dome here other than to add some **XXX** comments to help remind us of what needs to be done in later parts of the **Great Fork Merge**.

* bugs.md faq.md news.md var.mk

The use of `temp-test-ioccc` is outside of a blob.

Here `https://github.com/ioccc-src/temp-test-ioccc/` may be be replaced by `https://github.com/ioccc-src/winner/` in anticipation of the **Great Fork Merge**.

There is an exception: The historic discussion abouts the history of the `temp-test-ioccc` repo needs to retain their `https://github.com/ioccc-src/temp-test-ioccc/` strings in `faq.md` and `news.md`.

* 2005/sykes/README.md

The markdown links that start with `https://github.com/ioccc-src/temp-test-ioccc/blob/master/` should instead start with `%%REPO_URL%%/`.

After the **Great Fork Merge**, the `%%REPO_URL%%/` value will refer to `https://github.com/ioccc-src/winner/blob/master/` instead.

* 2020/ferguson1/snake.1

There is not a tool to "pre-process" cat pages like there is for markdown files: no should there be.

The cat page refers to a markdown file when instead it should refer to a HTML page.

In this case we suggest that `https://github.com/ioccc-src/temp-test-ioccc/blob/` be replaced by `https://www.isthe.com/`, and `.md` be replaced by `.html` in anticipation of what it will need to be after the **Great Fork Merge**.

* YYYY/entry_dir/*.sh

The shell scripts references by the above command are "helper shell scripts.   Like man pages, there is no "pre-processor" for shell scripts, nor should there be.

Looking at these helper shell script files in detail:

```sh
find * -name '*.sh' ! -path 'tmp/*' ! -path 'bin/*' -print0 | xargs -0 grep 'temp-test-ioccc/blob/master'
```

We see that they all make references to `faq.md#something.`.

This is wrong in 2 ways:

0) They should not refer to the markdown file `faq.md` but rather to the HTML file `faq.html`.

1) They punctuate a literal string (with one exception) by adding a final period (".") to a string that requires somebody to copy and paste and exclude the final period (".").

Since these echo commands are suggesting that the user view something within the FAQ, we recommend that `echo "Tip: see https://github.com/ioccc-src/temp-test-ioccc/blob/master/faq.md#` be replaced by `echo "Tip: see https://www.ioccc.org/faq.html#` AND that the final period (".") be removed.  Thus they too will anticipate what they will need to be after the **Great Fork Merge**.
2024-05-30 11:17:04 -07:00
Cody Boone Ferguson ffdb219ceb Change references of 'alt code' to 'alternate code'
This was done by:

    sgit -e 's/alt code/alternate code/g' . ; git co tmp/OLD_manifest

as well as updating the tmp/manifest.numbers spreadsheet and exporting
to the CSV file (though that would not strictly be necessary).

The way this works means that the update manifest script does not need
to be run as it sgit(1) touched the .entry.json files (any that needed
to be updated) and so would any index.html files. An example for both
.entry.json and index.html files being modified due to manifest is
2012/kang.

Numerous Makefiles were updated, any try scripts that had 'alt code'
instead of 'alternate code' and README.md/index.html files (unrelated to
the manifest as 'alt code' was used in other places too) and obviously
the manifest.numbers spreadsheet.

However to be safe I will do a run of the manifest script in a bit even
though it should not be necessary. If no commits are made it means all
is good and if any commits are made for the manifest it means that I
did not think of something (or else I made another change after this).
2024-05-30 08:02:32 -07:00
Landon Curt Noll d70b6681d1 improve bottom of index.html and FAQ 0.0
Improved information on how to view the status of the IOCCC, directing
people to `status.html` (which includes a copy of the contents of
`status.json`) instead of directly referring people to `status.json`.

Improved format of "FAQ 0.0: How may I submit to the IOCCC?".

Improved bottom of `index.html` to refer to the above.
2024-05-29 13:57:21 -07:00
Landon Curt Noll ce662db192 add IOCCC markdown to the About menu 2024-05-28 15:22:22 -07:00
Cody Boone Ferguson 85708c2f37 Improve FAQ 3.0 - about Makefile rules
It now clarifies that the CC=... checks by substring so that one can do
make CC=gcc-mp-12, for example, and it will register as gcc.

It also clarifies that the top level Makefile and the year Makefiles
recurse into subdirectories so that one can compile individual entries,
entries for a given year or all entries.
2024-05-28 08:51:44 -07:00
Landon Curt Noll 3f8375e1f2 Merge pull request #2364 from xexyl/more-thanks
More corrections in thanks file
2024-05-27 18:10:37 -07:00
Cody Boone Ferguson 743e21d7fb Add FAQ 6.14 + minor updates to others
The new one is how to set tabstop (for viewing code) in vi(m).

Add to the mastodon FAQ a note that there is an app but it does not have
push notifications for posts by people you follow.

Minor typo fixes elsewhere.
2024-05-26 16:29:09 -07:00
Landon Curt Noll 43b3fc07c0 improve the footer of HTML pages
Removed a few blank lines in the Copyright section of all HTML footers.

Perform `make www` to perform the above and test under macOS.
2024-05-24 16:58:59 -07:00
Cody Boone Ferguson 27a6cc8c07 Add FAQ 4.5 - about alt versions being added 2024-05-24 09:33:39 -07:00
Cody Boone Ferguson 2daae15a8a Typo fix in FAQ 3.9 title
It ended up being just:

    3.9 - How do I compile an IOCCC entry that requires (n)?

instead of:

    3.9 - How do I compile an IOCCC entry that requires (n)curses?

and this has been corrected.
2024-05-14 05:33:10 -07:00
Landon Curt Noll ab80984eb9 test again a more compact footer
We fixed an HTML error and improved the use of punctuation
in the footer, including the copyright.

This is a test using `make gen_top_html`.

TODO: If all is well, process `make www`.
2024-05-12 19:24:17 -07:00
Landon Curt Noll 50853863cc test a more compact footer
The footer, including the copyright, is now more compact.

This is a test using `make gen_top_html`.

TODO: If all is well, process `make www`.
2024-05-12 18:59:14 -07:00
Landon Curt Noll 1edbc93d1f test improved inc/footer.default.html
We make better use of the rel HTML attribute.

We format the inc/footer.default.html so that it is a
slightly easier to read.

This is a test using `make gen_top_html`.

TODO: If all is well, process `make www`.
2024-05-12 17:11:59 -07:00
Landon Curt Noll a53b6cba9c Improved FAQ 5.5 related to unknown and anonymous locations
Ran `make www` to perform test the above under macOS.
2024-05-07 22:43:01 -07:00
Landon Curt Noll 5efe15998b clarify and improve FAQs related to the author_handle
Added "FAQ 6.13: How may I find my author handle?".

Improved author handle information in FAQ 5.5, 6.5, and 6.6.

Ran `make www` to perform test the above under macOS.
2024-05-07 22:21:16 -07:00
Cody Boone Ferguson 6c3be16620 Typo fix in FAQ 4.1
The text in markdown was gets(3( which resulted in gets((
rather than gets().
2024-05-05 09:55:56 -07:00
Landon Curt Noll 62781ae6fc fix HTML 5 info notes related to hamburger-icon images 2024-04-29 14:34:56 -07:00
Landon Curt Noll 57dca5525b fix broken markdown local links in faq.md
Ran `make gen_top_html` to perform the above.
2024-04-28 14:43:30 -07:00
Landon Curt Noll 217836e33f fix even more broken markdown links
Added `bin/find-missing-links.sh` tool to check for
markdown links to missing local files.

Regarding the missing link tool:

```
    Here be extended regular expression magic dragons! :-)
```

Added `make find_missing_links` to the top level Makefile.

Added `make find_missing_links` to `make www` and `make quick_www`.

Ran `make www` to perform the above.

TODO: Fix markdown links to missing local files.
2024-04-28 01:08:21 -07:00
Landon Curt Noll 8bca099534 fix more broken markdown links
Fixed stuff we broke by mistake, previously.

Ran `make www` to perform the above.

TODO: Fix stuff we broke by mistake doing the above.

TODO: Fix more broken markdown links.
2024-04-26 16:25:17 -07:00
Landon Curt Noll 4f95e3f3d6 fix more broken markdown links
We fix more markdown links in markdown files that refer to files
internally to the web site.

Added tmp tools to find and print various markdown links:

* `tmp/md-links.sh` - print all markdown links
* `tmp/md-token-links.sh` - print all markdown links that start with a **%%TOKEN%%**
* `tmp/md-local-links.sh` - print all markdown links to a local file
* `tmp/md-link-paths.sh` - print local file paths referenced in markdown links

Fixed a number of markdown formatting problems with `thanks-for-help.md`.
Fixed markdown links to files in `thanks-for-help.md`.  Improved
heading levels in `thanks-for-help.md`, and made entry sections consistent.

Changed all markdown links that end in "))" to end in a better way.

Explained in `markdown.md` why we are avoiding markdown links that
end in "))".

Ran `make www` to perform the above.

TODO: Fix stuff we broke by mistake doing the above.

TODO: Fix more broken markdown links.
2024-04-26 04:17:20 -07:00
Cody Boone Ferguson a4e1b63695 Typo fix in FAQ 2024-04-25 06:44:58 -07:00
Landon Curt Noll bd63d57cb5 improve topbar for non-JavaScript and fix some internal links
For browsers that have JavaScript disabled, topbar puts up
a link that reads "Please Enable JavaScript" instead of the
so-called "hamburger menu" icon.

Fixed a number of internal links that were broken
when by commit `e7d69bc23270e8ad73d391d15d4c996ffbd33cc3 and
perhaps a few other earlier commits.

Ran `make www` to perform the above.
2024-04-24 22:55:35 -07:00
Landon Curt Noll b84f8cbe28 improve topbar
The icons used to show the menu open (`png/hamburger-icon-open.png`)
and closed (`png/hamburger-icon-closed.png`) have been added.

Changed `inc/topbar.default.html` to use the png icons instead
of a svg file.

A new page `nojs-menu.html` has been added for when
JavaScript is disabled.

Changed `bin/gen-top-html.sh` VERSION from to "1.4.4 2024-04-21"
to "1.4.5 2024-04-23".

Sorted top sections in `inc/md2html.cfg` and added
a section for `nojs-menu.md`.

Fixed `ioccc.css` so that the topbar and related pulldown
menus had the correct background colour.

Ran `make www` to perform the above.

TODO: Detect when JavaScript is disabled and display:

		Please
		Enable
	      JavaScript

      As a link to the new `nojs-menu.html` page.

TODO: Fix a problem on wide screens where some of
      the righthand edge pulldown menus are cutoff.

TODO: Fix the 5 HTML 5 errors introduced by the topbar code.
2024-04-23 23:47:03 -07:00
Landon Curt Noll afaa8aad3a fix font colors, and link udnerlines 2024-04-23 17:32:11 -07:00
Landon Curt Noll f226b7d65e fix topbar menu links 2024-04-23 15:56:19 -07:00
Landon Curt Noll 1878ea0f72 fix topbar menu items
Improved the topbar menu set.

Fixed broken links from the topbar.

Removed "Click this" (for now?).

Ran `make www` to perform the above.
2024-04-23 15:07:14 -07:00
Landon Curt Noll 97f6da1247 fix topbar to work on mobile devices
The topbar, by way of JavaScript, now works
on mobile devices such as cell phones and
tablets.

Internal links for entries from 1984 thru 2015
have been adjusted.

Ran `make www` to perform the above.

TODO: Fix some color issues on topbar.

TODO: More testing!
2024-04-22 15:05:59 -07:00
Landon Curt Noll 0171269115 improve FAQ on What platform should I assume for my entry
Added `faq.html#SUS` link.

Ran `make gen_top_html` to perform the above.
2024-04-21 19:04:30 -07:00