Commit Graph
100 Commits
Author SHA1 Message Date
Cody Boone Ferguson af5482825c Reorganise menus
The sections have been modified a fair amount. The Entries menu has been
extended to have: Fixing entries, Updating author info, Thanks for the
help. The first two were moved from FAQ and the last one from About.
The rationale for these, in order: entries and authors have to do with
entries and most of the help involves entries. It also has to do with
website but in 'about' it does not seem the right place, unless maybe it
is renamed to 'Credits' or something (I am not suggesting this one way
or the other). This one is debatable but that was the rationale.

The Status menu has been extended to have: Markdown guidelines and
Security policy. The rationale is that the markdown guidelines are part
of contest guidelines and the security policy is about the status of the
entries and how if there are any security problems they will not be
addressed (instead of about the IOCCC).

The FAQ was extended to have: Compiling entries, Running entries, How to
help. The reason to not have compiling and running entries under Entries
is because this is 'how to' and also the menu was too long. How to help
seems like a good idea under FAQ too (was in About).

About was extended to have the new 'about.html' page (from about.md).
This is a rare case where a new file is useful as it fits under 'About'.
The menu now is: Home page, About the IOCCC, The Judges, Contact us. I
was pondering the 'About [the IOCCC]' at the top and also naming it
'About us' but it seemed like a link to index.html was necessary and as
for 'about us' it seemed less clear as to whether it was about the
judges or the contest itself. The FAQ has been updated slightly for
this.

After further inspection the bin/index.html and the inc/index.html links
were removed from the about section.

With these changes, renaming an item or slight reordering
notwithstanding, I believe that #2006 is probably in good shape.
2024-10-25 11:23:21 -07:00
Cody Boone Ferguson 75c89bd544 Make authorship comments in bin/ tools consistent 2024-10-25 06:41:45 -07:00
Cody Boone Ferguson f3d34858a1 Typo fix in markdown.html 2024-10-24 15:30:50 -07:00
Cody Boone Ferguson 08f89c30f5 Fix bin/find-missing-links.sh
A test was accidentally committed and this caused a problem.
2024-10-24 14:54:33 -07:00
Cody Boone Ferguson 61bd64220c Fix mobile menus and add to menus
The mobile About menu was missing the IOCCC markdown guidelines. This
has been added to the mobile menu but moved to 'Status' which is where
guidelines are (it has been renamed to be 'IOCCC Markdown Guidelines' to
match the style of the other items in that menu).

The About menu now has two more links, one for the website tools and the
other for the include files of the tools. It might be, looking at the
generated html files, better to have another menu instead, but what that
should be is unclear. The reason it might be better is because the
'About' menu is rather long. In retrospect it might be better to not
have the script include files in the html files but this can be decided
and dealt with later.

The script bin/find-missing-links.sh now ignores the directory NOTES/. A
better approach might be using git ls-files --exclude but a quick test
did not work right. Another option, at least for NOTES/, might be to use
'git ls-files --exclude-standard'.

The bin/index.html file has been updated.

Run make www to rebuild all html files.
2024-10-24 14:48:42 -07:00
Cody Boone Ferguson 2ede9774c0 Typo fix in combine_author_handle.sh
Make JSON lower case in filenames (this was only in comments in this
case).
2024-10-24 13:37:21 -07:00
Cody Boone Ferguson d54fc718ba Improve bin/gen-sitemap.sh
The script now uses git ls-files instead of find, so that other files in
the directories are not added to the sitemap.
2024-10-24 11:21:37 -07:00
Cody Boone Ferguson 89af774f84 Typo fixes
Typos were fixed in bin/md2html.cfg, bin/subst.default.sh,
nojs-menu.html and nojs-menu.md.

The nojs-menu.html now links to bin/index.html and inc/index.html but
the rest of the html files for now do not. It seems like it might be
good if they do, at least bin/index.html, but if that is decided against
this can be rolled back instead.
2024-10-24 10:51:39 -07:00
Cody Boone Ferguson 31afcfabe8 Fixes/clarifications in 2006/toledo[23]/index.html 2024-10-24 10:15:08 -07:00
Cody Boone Ferguson 66e0c539d3 Add missing find-invalid-json.sh to bin/index.html 2024-10-24 10:13:49 -07:00
Cody Boone Ferguson 2fa6fef242 Fix header in bin/format-headers.sh
Make it clearer how it came to be and what it does.
2024-10-24 09:52:17 -07:00
Cody Boone Ferguson 1bd38357f6 Improve navigability of thanks file
Also made quite a few fixes (of various kinds).
2024-10-24 09:46:50 -07:00
Cody Boone Ferguson 06d9cce70e Split into two the FAQ about changes in entries
The first one is now simpler and simply says some of the things that
might have changed. The other one, a sub-question, discusses the
Makefile rules and such.
2024-10-23 11:15:29 -07:00
Cody Boone Ferguson b61618b9ca More format fixes in FAQ
In the case of JSON code blocks many had lines that ended in ',' which
would, when syntax highlighting works, be flagged as a syntax error.

A typo was fixed in a JSON code block (for the IOCCC affiliation).

In entry_set JSON description the formatting was wrong and it also had a
syntax error. Instead it now has the full set of the author in question
(Yusuke Endoh) as of this time.
2024-10-23 10:20:59 -07:00
Cody Boone Ferguson 1d78ccf113 Minor fixes in FAQ
Change code blocks in the form of:

    ```sh
    ```

to be:

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

as per the markdown guidelines.

Minor rewording.
2024-10-23 09:59:29 -07:00
Cody Boone Ferguson f32b08d52c Improve FAQ section for submitting
More work might need to be done in this section and other sections might
need checking too but I believe this section is more helpful. An attempt
was made to shorten some of it without compromising the usefulness but
more will have to be done to make sure this is the case.
2024-10-22 12:22:27 -07:00
Cody Boone Ferguson d91743342e Update to 46ade8e1f9
This was supposed to be committed and pushed but was left out by
mistake.
2024-10-22 10:11:35 -07:00
Cody Boone Ferguson eb5697bb99 Minor fixes in bin/find-invalid-json.sh 2024-10-22 06:59:54 -07:00
Cody Boone Ferguson 46ade8e1f9 Fix mistake in 2020/ferguson1/chocolate-cake.html 2024-10-22 06:40:52 -07:00
Cody Boone Ferguson 1f81cd4490 Merge two FAQs about the mkiocccentry toolkit
The new question is 'What is the mkiocccentry tool, how do I obtain it
and how do I use it?'. This one still needs more work, however.
2024-10-21 14:57:07 -07:00
Cody Boone Ferguson 265733ac88 Major FAQ updates
A number of question answers have been merged and shortened somewhat.

Fix link in the menu of all html pages and the inc/ files that was
broken due to renaming an anchor.

The guidelines and rules have had a link fix (to the FAQ) as well as
some additional points added about the mkiocccentry toolkit.

More work in the FAQ needs to be done, including with the how to enter
the IOCCC, but as so much work has been done already I have decided to
make the commit to get these many important changes out of the way.
2024-10-21 10:03:24 -07:00
Cody Boone Ferguson dfe89febaa Bug fixes in bin/find-invalid-json.sh
It incorrectly calculated the number of invalid JSON files.

Redirect jparse stderr to /dev/null as the script will be able to tell
without the extra clutter.
2024-10-20 16:14:59 -07:00
Cody Boone Ferguson 4e9b4db634 Typo fix in guidelines 2024-10-20 16:09:42 -07:00
Cody Boone Ferguson dcae40297d Update so-called JSON spec link in guidelines 2024-10-20 16:05:12 -07:00
Cody Boone Ferguson 74deedb0fd Shorten another FAQ answer 2024-10-20 15:52:43 -07:00
Cody Boone Ferguson c991f8d026 Shorten FAQ about -Weverything 2024-10-20 15:50:34 -07:00
Cody Boone Ferguson 50f71f0cad Remove obsolete html comments in FAQ 2024-10-20 15:46:06 -07:00
Cody Boone Ferguson 5dfa48efb3 Remove <ul>/</ul> in FAQ
This was forgotten in the previous commit.

Also shorten some command lines (end line with '\').
2024-10-20 08:21:11 -07:00
Cody Boone Ferguson ba9e8c9499 Remove lists and list items from FAQ
That is I did:

    sgit -e '/^<\/li>$/d' -e '/^<li>$/d' \
    -e '/^<ol>$/d' -e -e 's/^<\/ol>$/g' faq.md

The next steps are to move the question/answers to the appropriate
sections and to try and shorten as many answers as possible, possibly
merging some or even getting rid of some.
2024-10-20 07:20:00 -07:00
Cody Boone Ferguson 0ea1e00af7 More link fixes in bugs 2024-10-19 09:12:12 -07:00
Cody Boone Ferguson 7664a00191 More links fixed in bugs 2024-10-19 09:04:29 -07:00
Cody Boone Ferguson ae11be8233 Link fix in bugs file 2024-10-19 09:02:49 -07:00
Cody Boone Ferguson 4a9282082d Clean up bugs file 2024-10-19 08:59:06 -07:00
Cody Boone Ferguson e029372675 More more questions/answers in FAQ
Much more work needs to be done here still.
2024-10-19 06:19:52 -07:00
Cody Boone Ferguson 84ef6b782d Get section 0 of FAQ in order
This does not mean that there aren't other question/answers under this
section just yet but the first questions are those that are in the table
of contents and in the correct order.
2024-10-18 16:26:41 -07:00
Cody Boone Ferguson f54a502a12 More progress on FAQ reordering
More work must be done but to make sure that things are safe I am
committing what has been done so far as this is very error prone and
right now it seems okay.
2024-10-18 16:18:52 -07:00
Cody Boone Ferguson b62dc41478 Reorder FAQ table of contents, adding new sections
New sections were added. Not all anchors work yet. The questions/answers
are not yet in the right order. That is the next step.

Instead of relying on having to manually add numbers use ordered lists.
The sections are in unordered lists so we have control over the number.
The downside with this is with the long file it is harder to find the
section one is in but as each question/answer has a jump to the top that
should be worth the gain of not having to manually edit every question
(in the table of contents as well as the question/answers) every time a
question is moved to another place (or a new one is added) above others.

Another downside is minor: it does not allow for 0 as html lists do not
start with 0 but 1.

Another thing that has to be done is to make sure that the html lint is
correct. That can be done once this is merged. Any thing that needs to
be fixed can then be fixed.
2024-10-18 12:04:35 -07:00
Cody Boone Ferguson 330ebccc76 Reorder FAQ table of contents
Numerous sections have had questions moved to another section including
the new sections 'The mkiocccentry toolkit: finer details' and 'History
of the IOCCC'.

The first section was renamed (pending any better name as it might not
be quite right) 'Entering the IOCCC: the bare minimum you need to know'.

Renamed some questions to better (hopefully) account for what they are
about.

The purpose of not making the actual content match this reordering is so
that if any changes need to be made they do not have to be done again
(though a few were moved). Thus before more work can be done some
discussion is needed.

The guidelines and rules now refer at the top to the general FAQ
especially about the bare minimum one needs to know.
2024-10-17 11:50:22 -07:00
Cody Boone Ferguson a83661079b Improve some Makefile rules and comments 2024-10-17 08:10:25 -07:00
Cody Boone Ferguson 224c1f077e Add anchor to all FAQ entries
This commit is the first step in reordering/restructuring the FAQ.

Something important to notice is that except for the FAQ sections, the
anchor names starting with the regexp '^faq[0-9]' have been removed. The
numbers have not been removed otherwise, however, and as one FAQ was a
duplicate there might be a labelling problem too.

As the FAQ links do not refer to the number but rather what they are
about, and since the FAQ is being heavily restructured, the numbers are
a burden. Even after everything is reordered it could be a potential
problem when adding a new FAQ (though that should hopefully be pretty
rare). Perhaps a list that's not numbered (unordered instead of ordered
in html terms) is what is needed but this can be decided later.

This is a work in progress but since a lot was done I wanted this in.
The next step will be to move things about and perhaps remove the
numbers, whether temporary or not.
2024-10-16 11:34:46 -07:00
Cody Boone Ferguson 6bbcebc7bf Format fixes in html files of 2020 2024-10-15 12:41:12 -07:00
Cody Boone Ferguson cc026c02b6 Format fix html files from 2019 2024-10-15 12:12:29 -07:00
Cody Boone Ferguson cb5ab11092 Format fixes in html files from 2018 2024-10-15 11:52:45 -07:00
Cody Boone Ferguson ea00ce2409 Format fix html files in 2015, update bugs file 2024-10-15 09:45:12 -07:00
Cody Boone Ferguson dae96bc493 Fix exit code text in bin/find-missing-links.sh
The code 5 was missing. The reason other lines changed is simply
formatting (aligned to 4 chars).
2024-10-15 06:55:26 -07:00
Cody Boone Ferguson 8eafe398e2 Format fixes in html files of 2014
This commit also adds the faq.html and bugs.html file that should have
been committed with 2013. The reason the faq.md is updated with only the
version update (backdated to yesterday) is because the version was not
updated with the previous update.
2024-10-15 06:51:04 -07:00
Cody Boone Ferguson b672f37539 Format fixes in html files of 2013 2024-10-14 12:04:47 -07:00
Cody Boone Ferguson 39bde4cff2 Merge branch 'kang-alt' of github.com:xexyl/temp-test-ioccc into kang-alt 2024-10-14 08:56:58 -07:00
Cody Boone Ferguson 389d074209 Fix manifest for 2012/kang 2024-10-14 08:55:15 -07:00
Cody Boone Ferguson c3d14c23f4 Merge branch 'master' into kang-alt 2024-10-14 08:51:13 -07:00
Cody Boone Ferguson 2a27f85006 Remove 2012/kang alt code
This code is based on a 'fix' that causes another issue, and could
potentially be 'wrong' to have. It is better, I think, to pose the
challenge to the viewer to see if they can solve the problem themselves,
and if so if there are any issues with such a fix.
2024-10-14 08:47:10 -07:00
Cody Boone Ferguson 23cd57a57d Merge branch 'master' into json 2024-10-14 08:46:15 -07:00
Cody Boone Ferguson 205b7a38b3 Try (yet again) fixing workflow test.yml
It seems that the problem was (or perhaps not .. we'll see :-) ) is that
the 'run:' part of each task in the workflow file should not have a '-'.
If this is the case then this should solve the problem and if so the
problem was that some had it and others had it and in a rush I thought,
forgetting the syntax, that the problem was the missing ones were
incorrect.
2024-10-14 08:24:32 -07:00
Cody Boone Ferguson 000c555cfe Yet another typo fix in test.yml
Q: What do you call the time when a person tries to fix something when
they only have a minute?

A: Rush minute!

Anyway hopefully this is the final typo fixed needed. If not I have more
time now, however, so the problem can be remedied.
2024-10-14 08:19:42 -07:00
Cody Boone Ferguson 528236f7f3 Another typo fix in test.yml
Hopefully this solves the problem.
2024-10-14 08:17:54 -07:00
Cody Boone Ferguson 873c320f4b Typo fix in test.yml 2024-10-14 08:16:18 -07:00
Cody Boone Ferguson f6bb020f72 Remove mkiocccentry in test.yml workflow
This is because the mkiocccentry repo has offending markdown files.
Hopefully this resolves the workflow problem with find-invalid-json.sh
script and rule added to make test.
2024-10-14 08:12:14 -07:00
Cody Boone Ferguson 5f56e9b75d Update test.yml workflow for find-invalid-json.sh 2024-10-14 07:54:16 -07:00
Cody Boone Ferguson 3f0ffffdc8 Update test.yml workflow for find-invalid-json.sh 2024-10-14 07:47:51 -07:00
Cody Boone Ferguson b36b7a9a4c Add bin/find-invalid-json.sh to validate JSON
This script is run from 'make test' too so that if someone changes a
JSON file and it is invalid the GitHub workflow will report an error.

This script is based on bin/find-missing-links.sh. It can be cleaned up
with exit codes (and consistency checks need to be made) but other
issues have higher priorities so I will leave this the way it is for
now.

Requires verge to be installed and the jparse version to be 1.2.0 or
greater.
2024-10-14 07:41:48 -07:00
Cody Boone Ferguson 12b8cfd108 Add FAQ link on Zlib to 2012/vik 2024-10-14 06:47:23 -07:00
Cody Boone Ferguson d93d11c115 Add link to IOCCC BOF FAQ where BOF mentioned 2024-10-14 06:39:03 -07:00
Cody Boone Ferguson b13b36b46a Fix html files for 2012 2024-10-13 17:56:59 -07:00
Cody Boone Ferguson 1dffd99226 Format fixes in html files in 2011 2024-10-13 14:08:33 -07:00
Cody Boone Ferguson 96972b4599 Typo and format fixes in bin/jfmt-wrapper.sh 2024-10-11 07:03:29 -07:00
Cody Boone Ferguson 9d021fc0b9 Make ^NOTE in markdown/html files bold 2024-10-09 11:44:13 -07:00
Cody Boone Ferguson cbf87ab40d Remove boing-ball.mp4 from 2011/eastman
This video unfortunately comes from YouTube and so even if the link
eventually dies we should not have it here. A link was provided.

Updated the .entry.json and manifest in the index.html plus checked
other formatting issues.
2024-10-09 11:42:37 -07:00
Cody Boone Ferguson c8a5da79d2 Minor updates to bin/index.html
In aced0d06eb I forgot to build the
bin/index.html and I also have changed:

    ^NOTE:

to be:

    **NOTE**:

(not regexp for the update, obviously.)
2024-10-09 09:59:49 -07:00
Cody Boone Ferguson b6aa7ce85d Fix shebang in top level Makefile
It had:

    #build authors.html if out of date with author JSON files'!/usr/bin/env make

so it was changed to:

    !/usr/bin/env make

It seems like this was somehow yanked pasted from make help.
2024-10-09 09:57:10 -07:00
Cody Boone Ferguson aced0d06eb Fix broken link in bin/README.md 2024-10-09 09:39:27 -07:00
Cody Boone Ferguson 75829b4561 Fixes in 2006 html files and some of 2011 2024-10-08 12:34:18 -07:00
Cody Boone Ferguson 0b802c19f1 Fix environment field in issue templates
The render: markdown causes formatting problems (too long lines) in the
post, at least sometimes.
2024-09-30 10:23:03 -07:00
Cody Boone Ferguson a92f6ba7b2 Minor rewording in guidelines 2024-09-29 17:18:06 -07:00
Cody Boone Ferguson 8eca5d216d Correct comment in Makefiles for CUNKNOWN
It is actually used to silence the unknown warning option, not unknown
warnings.
2024-09-25 09:32:00 -07:00
Cody Boone Ferguson 32a8986065 Fixes in contact.md/contact.html 2024-09-25 09:30:09 -07:00
Cody Boone Ferguson 77e9d16aeb Typo fixes & clarification in bin/unicode-fix.sed 2024-09-24 11:46:05 -07:00
Cody Boone Ferguson 79e3f18ed6 Minor fixes to FAQ wrt other repos
The FAQ now notes that there can be times where the jparse repo
(https://github.com/xexyl/jparse/) is different from the mkiocccentry
repo's subdirectory jparse. This is one of the reasons the tools in the
mkiocccentry and the jparse repo show the jparse API with the -V
(version) option.

I believe that this is all that's needed for the jparse repo in the FAQ
but time will tell on that.
2024-09-07 09:39:51 -07:00
Cody Boone Ferguson 513e0c9001 Format fix some of 2006 entries' index.html 2024-09-02 13:02:28 -07:00
Cody Boone Ferguson 624a51081c Minor update to bugs.html wrt INABIAF 2024-09-02 12:54:59 -07:00
Cody Boone Ferguson a73ec108b3 Add jparse repo to guidelines
The jparse/ subdirectory in the mkiocccentry repo is self-contained but
it was suggested to put in parentheses the original source and this has
been done now.
2024-08-30 11:53:40 -07:00
Cody Boone Ferguson 9212f53531 Format fixes in 2005/vince/index.html 2024-08-29 13:20:03 -07:00
Cody Boone Ferguson 3659d264f5 Format fixes in 2005/vik/index.html 2024-08-29 13:16:53 -07:00
Cody Boone Ferguson ed40cc367f Format fixes in 2005/toledo/index.html 2024-08-29 13:13:57 -07:00
Cody Boone Ferguson 433281e5f6 Use canonicalised 4 spaces in .entry.json files 2024-08-29 12:59:55 -07:00
Cody Boone Ferguson e9cc8ce703 Format fixes in 2005/sykes/index.html 2024-08-29 12:47:07 -07:00
Cody Boone Ferguson 55f5005a68 Format fix 2005/persano/index.html 2024-08-29 12:38:21 -07:00
Cody Boone Ferguson b1e0bddbd0 Format fixes in 2005/mynx/index.html 2024-08-29 12:33:46 -07:00
Cody Boone Ferguson 870d6628eb Fix bugs.html for 2005/mikeash 2024-08-28 15:25:27 -07:00
Cody Boone Ferguson 05097e41d6 Format fix 2005/giljade/index.html + update bugs 2024-08-28 15:20:08 -07:00
Cody Boone Ferguson 466b295b38 Format and link fix 2005/boutines/index.html 2024-08-28 11:49:45 -07:00
Cody Boone Ferguson 13f2c2305c Format fixes/improvements in inc/index.html 2024-08-28 11:42:28 -07:00
Cody Boone Ferguson 00d3a0edb2 Fix sub/superscript cover text
A problem existed where in a superscript if there is a line immediately
above it the superscript text would cover part of the line and in
subscript the same problem occurred with the line below it.

This change can possibly be improved but it now does not cover text
(though admittedly I did not test the subscript before the change, only
after, but it seems highly unlikely it was not a problem).
2024-08-27 09:21:17 -07:00
Cody Boone Ferguson 0bcda80b28 Make thanks file MUCH MORE humble and improve FAQ
Something that has bothered me VERY MUCH for A VERY LONG TIME is that
the honour roll (under my name) was not very humble and in some respects
rather redundant. I have fixed this a great deal and improved the
readability of it too (grammar and so on).

I also added a point about fixing many entries that no longer worked and
I also did this for Yusuke Endoh too as he was responsible for fixing
numerous (at the least) entries that no longer worked (and it should be
acknowledged and honoured just as much as what I did).

The FAQ I improved is related to one of the things that is in the above,
to do with alternate code. It now explains some of the purposes of
alternate code and why (in some cases) alt code was added when it might
or might not be useful (a judgement call that invariably is not always
perfect). It notes that in many cases the alternate code comes from the
author directly.

With these changes a problem that I felt was a VERY BIG problem should
be resolved now.
2024-08-26 09:39:25 -07:00
Cody Boone Ferguson 7f88c03cd7 Add note to guidelines about forced warnings 2024-08-24 10:19:54 -07:00
Cody Boone Ferguson 5c5ae12dfd Note -Wno-unsafe-buffer-usage in FAQ 2024-08-24 10:18:37 -07:00
Cody Boone Ferguson d1604ac8a8 Update (edit one and add new) FAQ about warnings 2024-08-24 10:09:57 -07:00
Cody Boone Ferguson 938c906bf2 Format fixes in 2005/anon/index.html 2024-08-24 09:25:04 -07:00
Cody Boone Ferguson a4fd6665a1 Add another vi(m) swap file glob to .gitignore 2024-08-24 09:06:21 -07:00
Cody Boone Ferguson b5201c2ed1 Format fixes in 2005/aidan/index.html 2024-08-24 09:03:41 -07:00
Cody Boone Ferguson c5ddc5b7d9 Various fixes in guidelines 2024-08-22 10:45:25 -07:00