Commit Graph
5358 Commits
Author SHA1 Message Date
Cody Boone Ferguson 75a58a9fca Add md2html.cfg to bin/README.md 2024-06-16 05:54:25 -07:00
Landon Curt Noll 6793e2210c fix the case of the work rule, in the rules 2024-06-15 13:57:44 -07:00
Landon Curt Noll b9f4a8e79b improve next rules and guidelines
Changed version from "2024-06-11-v28"
to "2024-06-15-v28'.

Changed all places where a date was used.

Improved the "XXX - date/time is TBD - XXX" message format.

Removed more stuff about tweeting that we no longer do.

Added a few missing | change marks.

As we fixed a rules typo, we went ahead and merged in a few of the
new rules that were pending.
2024-06-15 13:48:15 -07:00
Landon Curt Noll 9b98d02645 fix alignment and HTML bug
Fixed the alignment of an arrow in `markdown.md`.

Fixed an HTML error, caught by `make quick_www`, in `bin/README.md`.
2024-06-15 13:08:25 -07:00
Landon Curt Noll 7bdc5e02eb Merge pull request #2434 from xexyl/md2html-cfg 2024-06-15 12:56:54 -07:00
Landon Curt Noll 2fb68c926f Merge pull request #2432 from xexyl/consistency 2024-06-15 12:54:57 -07:00
Cody Boone Ferguson 359d258cae Fix markdown.md no thank you comment format 2024-06-15 12:54:53 -07:00
Cody Boone Ferguson c60fa3ce7e Move inc/md2html.cfg to bin/
This is a very large commit not only because I forgot to run make www
after updating the menus but I also forgot to do that after the update
to some of the award titles (only quick-readme2index.sh was used).

There is a typo fix in bin/README.md.

This commit does mean that md2html.cfg has to be added to bin/README.md
but that can be done later.

The steps run to verify this works okay:

	make www
	git status
	git diff
	git add -u
	make update
	git status
	git restore $(git check)

The last is important as it is not time for make update. 'git check' is
an alias:

	git diff --name-only
2024-06-15 12:40:42 -07:00
Landon Curt Noll 752682b5c5 Merge pull request #2431 from xexyl/updates 2024-06-15 12:29:24 -07:00
Cody Boone Ferguson fb59e1203f Fix links/formatting in markdown.md
Something that was not noted in the other commit that touched this file
is that because this is markdown which renders to html I changed the
comments in the form of:

	<=== no thank you

to

	<!-- no thank you -->

This was not strictly necessary but and for non html it might not even
make sense except that it is still rendered to html and in most cases
(if not all) it is html. This was done for the rest of the file now too.
2024-06-15 11:33:12 -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 7494c3ea69 Minor update to bugs.html
This commit changes inc/md2html.cfg also and it is done to make the
header (under the line 'The International Obfuscated C Code Contest')
match the header in the bugs.md file, in case. Updating bugs.md is not
necessary. A keyword was also added to the html file, mis-features,
along with the already existing misfeatures.
2024-06-15 10:48:42 -07:00
Landon Curt Noll a8e50257c7 Merge pull request #2430 from xexyl/links-bin 2024-06-15 09:40:46 -07:00
Cody Boone Ferguson 9751f7d21b Links and format fixes in bin/README.md
This completes bin/ except that one file is likely to be moved to bin/
which will mean that the file has to be updated again but not in a big
way.

Very few top level html files (including inc/ and some other
subdirectories that are not the years) have to be checked now, I
believe. Some did not require any fixes at all. Still it might be a
couple days before this is done. It is hoped that the entry html files
will go quicker and then the final FAQ and bugs checks can be done.
2024-06-15 09:25:37 -07:00
Landon Curt Noll 258fa44881 Merge pull request #2429 from xexyl/ta-fixes 2024-06-15 08:26:12 -07:00
Landon Curt Noll 49da5c0d27 Merge pull request #2428 from xexyl/website 2024-06-15 08:23:13 -07:00
Cody Boone Ferguson 77cf358704 Fixes in thanks file
The inc/md2html.cfg file was in this case updated for the keywords (not
that many would think of it, maybe, but since I was making another fix I
added the keyword 'ta') and more importantly HEADER_2. The file is not
just about fixing old entries but rather help in every other way too.
Thus it now reads 'Thanking people for their help'.

The thanks-for-help.{md,html} has also been fixed in the above way and
the 'thanks for all the fish' is now a link.

	'Ta ta and thanks for all the fish :-)'
2024-06-15 06:47:19 -07:00
Cody Boone Ferguson be36c15c4d Fix missing cases of 'web site' to 'website'
... including the index.{md,html} which was in all caps ..

The bin/README.md file (and index.html) was updated slightly with an
added comma: not strictly necessary but for some it might be easier to
read. This was discovered as I was going through the links (not done
checking them yet but so far so good).
2024-06-15 06:35:40 -07:00
Landon Curt Noll 3f4ccec269 Merge pull request #2427 from xexyl/readme-bin 2024-06-14 12:01:21 -07:00
Cody Boone Ferguson cdd6b39625 Minor order fix in bin/README.md 2024-06-14 11:55:19 -07:00
Cody Boone Ferguson be839b3625 Mostly finish bin/README.md
Usage for scripts where the usage was missing added, even if that's just
that it is used in another file.

The script links have been changed to use %%REPO_URL%% for the GitHub
syntax highlighting. Some other files have also been changed to this.

Other changes were probably made too.

Links still have to be checked but this has to be done next time.
2024-06-14 11:50:29 -07:00
Landon Curt Noll 333476f967 Merge pull request #2426 from xexyl/bug-fix-output-year-index 2024-06-14 11:44:34 -07:00
Landon Curt Noll be944a2464 Merge pull request #2423 from xexyl/award-titles 2024-06-14 11:42:11 -07:00
Cody Boone Ferguson a5bb99edcc Bug fix bin/output-year-index.sh (unset variable)
The PANDOC_WRAPPER did not have a default value which not only caused
the help string to show something like: '(def: use )' but it meant one
had to specify the option -p to specify the pandoc wrapper tool (which
is bin/pandoc-wrapper.sh).
2024-06-14 10:31:38 -07:00
Cody Boone Ferguson 0117ea080f Typo fixes in bin/status2html.sh 2024-06-14 10:30:37 -07:00
Cody Boone Ferguson daf92e1f41 Typo fixes in bin/gen-status.sh 2024-06-14 10:29:37 -07:00
Cody Boone Ferguson 8125a24fdb Make award titles more consistent
A lot of the award titles that had more than one word capitalised were
changed to just one word capitalised, the first. Some were changed to
have multiple words capitalised. This happened when it was something
like '... prize' or '... award'. An exception to this is 2020/ferguson1:
'Don't tread on me award'. This is because I am not quite sure if I like
'Don't Tread On Me Award' or if it should be 'Don't Tread on Me Award'
(probably not that). For some like 'Grand Prize' or 'Bill Gates Award'
it's simple but I'm not so sure for my Snake entry of 2020. I will try
changing it and comparing it side-by-side to see which looks nicest.

This commit should make it easier to update the form of the award titles
in that they should all be consistent (or more consistent if not
completely) though it should be noted that the macOS Numbers application
(spreadsheet) is case-insensitive. A reason I did not change 'Don't
tread on me award' to 'Don't Tread On Me Award', yet, besides the above
reasons, is that it's a longer title and I am not sure how I like that
many words capitalised. Still it's a title of a slogan/whatever so it
might be better that way. This will be determined in the near future.

The tmp/year_prize.numbers had the text size increased a fair bit as
the default is too small for my pitiful vision (I changed it within
reason as it can become harder in another way if it's too big - 16"
MacBook Pro screen). One of the columns was also widened as it was too
short even for the smaller size.
2024-06-14 06:52:23 -07:00
Landon Curt Noll b7f88c1274 Merge pull request #2422 from xexyl/change-lines 2024-06-14 06:09:24 -07:00
Cody Boone Ferguson 0c78b5803a Restore change lines in guidelines 2024-06-14 05:42:17 -07:00
Landon Curt Noll 4deacb058c Merge pull request #2421 from xexyl/fmt-fix-bugs
Format fix bugs.md
2024-06-13 23:05:31 -07:00
Landon Curt Noll ac0f33ec48 Merge pull request #2420 from xexyl/typo-fix-faq
Typo (one) fix in FAQ
2024-06-13 23:00:41 -07:00
Cody Boone Ferguson ac4774ec32 Format fix bugs.md
It seems pandoc actually handles it okay but the markdown was fixed
anyway (in other words it does not change the html file). A line that
was part of a sentence (the end of) started with '256.' This was changed
to '256\.' (another option would be to move the '256.' to the end of the
previous line). With pandoc the html file does not change but this very
issue has caused me problems before so I fixed it.
2024-06-13 14:02:50 -07:00
Cody Boone Ferguson e75f6cd869 Typo (one) fix in FAQ 2024-06-13 13:50:05 -07:00
Landon Curt Noll cfb5ecfd87 Merge pull request #2419 from xexyl/fmt-typo-next
Finish format/typo checks in next/
2024-06-13 12:20:06 -07:00
Cody Boone Ferguson 367981c196 Finish format/typo checks in next/
I was asked to actually make corrections in the rules and guidelines and
to make sure that the look and feel seems good. The typos and other
features will be added back later. Some things worth noting below.

First references to twitter were changed to mastodon. I also in some
cases (this should be in the FAQ too and I'm not sure if it is) when
referring to mastodon noted that unless you are mentioned (also if
someone reposts your toot but this is not mentioned as it's not
relevant) you will not get a notification so one should still refresh
the page as otherwise they might not get an update.

The current iocccsize in the mkiocccentry repo checks for 2503 not 2053
like it used to. Only some of the references can be changed to 2503,
however. For why this is read the file!

I changed the word 'historic' to 'historical'. This is because
historical refers to something that happened in the past and the rules
and guidelines are something that existed in the past. On the other hand
historic refers to famous or important in history. Of course that might
be the case here but it felt like in these cases historical was more
correct. This, of course, depends entirely on how you view the rules and
guidelines that are from the previous contest.

This time I modified files in inc: guidelines.closed.hdr and
rules.closed.hdr. This is because the next/guidelines.md and
next/rules.md refer to it as being included (even though it appears that
might not be the case). These files are simply what the top of the
guidelines.md and rules.md files are. I do not know if this is important
but since the markdown files do refer to them I have updated this time
(even though it seems like one has to keep two copies of the same text).
2024-06-13 09:55:47 -07:00
Landon Curt Noll 4f5f5e7088 Merge pull request #2418 from xexyl/readme-bin 2024-06-12 21:39:57 -07:00
Cody Boone Ferguson e4fa460de4 Minor fixes in bin/README.md
A few typos were fixed.

One tool had the description reworded a bit to make it (hopefully) a bit
clearer.

A link was fixed but I am not sure if, since it's a script, it should
link to the GitHub repo or not, like with other markdown files. I
changed it to use the %%var%% that the bin/README.md file uses. This is
one reason links have not been checked. The other reason is I have not
gone through the entire file yet.

I notice some tools do not have example usage and those could be added
too.

There was an apparent typo in bin/find-missing-links.sh and this same
typo was fixed in bin/README.md. I am not sure exactly what was meant,
however, so it might need further modifications.

I have (the caveats above notwithstanding) gone up through
pandoc-wrapper.sh or just before it.

Regenerated bin/index.html.
2024-06-12 14:29:39 -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 13800f55d9 update rules and guidelines
While these are not the 2024 rules and guidelines, they
do contain a number of corrections and updates that are
anticipated for IOCCC28.

Fixed several broken links.

Performed `make www` to complete the above.
2024-06-11 14:41:09 -07:00
Landon Curt Noll 2dc61c21c3 apply changes made by make www
Apply changes that `make www` made as a result of previous pull requests.
2024-06-11 14:29:08 -07:00
Landon Curt Noll ba35ccd418 Merge pull request #2416 from xexyl/md-next 2024-06-11 12:44:01 -07:00
Cody Boone Ferguson 8f5f941e63 Check links/formatting in remaining next/ files
Some links were fixed. For instance instead of index.html#enter it's now
the relevant FAQ. A markdown link was broken so that it did not create a
link at all.

Some formatting was updated mostly to make points bold or in code block
(if it's going to be html it might as well especially as they are
important).

And although there were some typo fixes there still are some typos in
there. If you don't know why that is see the FAQ 1.0: How did the IOCCC
get started?. :-) Besides much will be changed in these files by the
judges and the purpose of this commit was to make sure links were valid
and that the files are rendered okay, not to try and change the rules
(although I did update the IOCCC email and make it the 28th IOCCC and
fix the judges [list] .. to make a reference to something recent :-) ).

This commit means that the files under next/ have all been checked. As
usual we all anticipate things to change but some things that were
outdated were corrected (or they were at least partially corrected like
referring to the mkiocccentry repo) to help out a bit.
2024-06-11 12:07:14 -07:00
Landon Curt Noll 71be243393 Merge pull request #2415 from xexyl/next-readme 2024-06-11 10:29:59 -07:00
Cody Boone Ferguson 388c7766ff Fix typos in next/README.md, run make gen_top_html
One typo was fixed and wording was slightly changed in one thing which
is not really a typo but might be clearer now (if only slightly).

The links seem okay though I did not go through them in the browser as
each section has the same links and it is easier to check them in vim
than going back and forth in the browser between pages. It should all be
good.

Thus next/README.md and next/index.html have been updated and can be
considered completely reviewed at this time.
2024-06-11 10:09:25 -07:00
Landon Curt Noll 58468c44cc Merge pull request #2414 from xexyl/update-next-readme 2024-06-09 21:16:51 -07:00
Landon Curt Noll d068c8d29d Merge pull request #2413 from xexyl/sloane2006-award 2024-06-09 21:16:05 -07:00
Landon Curt Noll a50d96db22 Merge pull request #2412 from xexyl/improve-years-html 2024-06-09 21:15:49 -07:00
Landon Curt Noll 44e385b80a Merge pull request #2411 from xexyl/update-news 2024-06-09 21:06:41 -07:00
Cody Boone Ferguson c54f845767 Update formatting in next/README.md
This is not yet complete as I must still verify that link titles are
consistent with what they link to and formatting might also be changed a
bit (bold, italic) to help things stand out a bit better. An example of
a format change in this commit is that the 'status is foo' now has the
status (as in foo e.g. closed, open etc.) is in bold and italic (in the
header it is just italic as there seems to be no reason to be bold
there).

Rebuilt next/index.html.
2024-06-09 11:16:14 -07:00
Cody Boone Ferguson 10789b7596 Fix 2006/sloane award title
There was a typo which had Homer''s instead of Homer's. This has been
corrected in the tmp/year_prize.numbers, tmp/year_prize.csv,
2006/sloane/.entry.json, 2006/sloane/index.html and years.html files.
2024-06-09 06:52:49 -07:00