350 Commits
Author SHA1 Message Date
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 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
Landon Curt Noll 0951f8b475 update FAQ 11.2 with commit count and more XXX notes 2024-10-20 13:50:37 -07:00
Landon Curt Noll aa16ecde4e fix minor FAQ issues, shortened some FAQ titles, added Q x.y
We fixed some of minor inconsistencies in the `faq.md` markdown.

We added "Q x.y:" to the Table of Contents and FAQ titles,
in part to verify the order, and in part to help someone find
their way while inside the FAQ content.

Reduced several FAQ titles that were wrapping onto a 2nd line
at the standard window width.

Perform `make faq` to perform the above and test under macOS.
2024-10-20 13:32:33 -07:00
Landon Curt Noll 2b38125ddf fix some HTML validation errors 2024-10-20 12:40:09 -07:00
Landon Curt Noll d95a55cbfc fix the order of faq
The faq entries have been reordered to match the same order
as the Table of Contents.

Added missing "Why were some filenames changed?" FAQ to the
Table of Contents.

Fixed a number of FAQ headers to use the "Q:" at the start.

Added double 1/2 lines between sections.

Made use of double empty lines consistent.

Added some missing "Jump to top" lines.

Shortened 2 very long FAQ long titles.

Perform `make faq` to perform the above and test under macOS.

TODO: Check the HTML with the link checker.
2024-10-20 12:25:35 -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 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 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 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
Landon Curt Noll 2557b0cf1d fix link to zlib web site 2024-10-13 20:27:55 -07:00
Landon Curt Noll 4386b63a8d add FAQ 1.5 (BOZ) and FAQ 3.23 (zlib)
In addition to adding the above mentioned FAQ entries,
we made sure that FAQ sections were preceded by 2 empty lines.
2024-10-13 20:20:28 -07:00
Cody Boone Ferguson 9d021fc0b9 Make ^NOTE in markdown/html files bold 2024-10-09 11:44:13 -07:00
Landon Curt Noll 1a77cf308b fix tabs in faq.md 2024-09-28 00:55:49 -07:00
Landon Curt Noll c6c1c36640 add some FAQ information about title and abstract in .entry.json 2024-09-28 00:06:11 -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
Landon Curt Noll a6c34f57cf update FAQ as per changes to jparse and mkiocccentry repos 2024-09-03 01:06:29 -07:00
Landon Curt Noll 73d777a4b8 add may apply to HHG quote pre-text 2024-09-02 12:52:27 -07:00
Landon Curt Noll 519705d178 add some FAQ humor and clarification
Added a new "FAQ 1.4  - What is the **Great Fork Merge**?"
and a new "FAQ 6.18 - I do not understand the IOCCC, can you explain it
to me?".

Updated "FAQ 0.11: How can I validate any JSON document?"
with new jparse info.

Performed `make gen_top_html` to accomplish the above and to test under macOS.
2024-09-01 22:44:55 -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 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
Landon Curt Noll 96e0f2b966 move some rules into 1337.mk
A number of rules have been moved from entry `Makefile`s into the
`1337.mk` include file to make it easier for these common rules to be
updated or modified globally (by modifying the `1337.mk` include file).

The entry level `Makefile`s are now similar in form to the
/Makefile.example](https://github.com/ioccc-src/mkiocccentry/blob/master/Makefile.example)
file from the other repo.

The following make rules were moved into the `1337.mk` include file:

- `make indent.c`
- `make install`
- `make diff_orig_prog`
- `make diff_prog_orig`
- `make diff_alt_prog`
- `make diff_prog_alt`

This simplifies the entry level `Makefile`s so that they mostly reflect
the specifics of the particular entry.

Mentioned in FAQ 4.2, that the make diff rules are in the `1337.mk` include file.

Fixed invalid TAB character in `faq.md`.

Removed `make clean` directives that removed `indent.c`.  This file is now
removed via `make indent_clean`, a clean rule that also removes `indent.c`.

Removed `make clobber` directives that removed sandwich,  This file is now
removed via `make indent_clobber`, a clean rule that also removes `sandwich`.

Added `make indent_clean` and `make indent_clobber` rules into the top level
`Makefile` and the year level `YYYY/Makefile`.

Performed `make quick_www` to accomplish the above and to test under macOS.
2024-08-21 23:42:28 -07:00
Landon Curt Noll 06ae40f99c fix clean rule examples in FAQ 0.3 2024-08-21 21:14:56 -07:00
Landon Curt Noll d6f487224a add Jump to: top below FAQ entries
We add links to jump to the top of the file at the bottom of FAQ
sections.

Improved Makefile samples for FAQ 0.3.

Performed `make faq` to accomplish the above and to test under macOS.
2024-08-21 21:04:40 -07:00
Landon Curt Noll 0203a51dd8 improve FAQ on helping with ZZ location 2024-08-17 16:00:57 -07:00
Landon Curt Noll a956c3d1e5 improve entry index.html navbar links
We improve entry `index.html` navbar links by allowing the
next and previous to link across years.

The `make genpath` now forms `.allyear`, which is a
sorted contamination of all YYY level `.year` files.

Updated `make help` to reflect the  `make genpath` functionality.

Updated FAQ 6.8 to talk about the `.allyear` file.
Fixed links to `.top` and `.allyear' to refer to GitHub.

Changed `bin/subst.entry-navbar.awk` VERSION from "1.2 2024-03-02"
to "1.3 2024-08-02".

Changed `bin/subst.entry-index.sh` VERSION from "1.3.5 2024-08-05"
to "1.4 2024-08-09".

Performed `make www` to accomplish the above and to test under macOS.
2024-08-09 03:23:16 -07:00
Cody Boone Ferguson 3da5bb9022 Inject a little fun to FAQ about the first IOCCC 2024-08-02 06:41:41 -07:00
Cody Boone Ferguson dc96b1d6c5 Add named links to FAQs
I also fixed a format issue and some incorrect terms.
2024-08-01 14:46:27 -07:00
Landon Curt Noll e83cd61baf add FAQ to clarify original source code and OK_to_edit
Added FAQ 4.9 "What is the original source file?".

Added links for "dot_path" (and "dot_year" and "dot_top").

Clarify reasons why `OK_to_edit` might be set to `false`.

Performed `make www` to accomplish the above and to test under macOS.
2024-07-31 16:22:01 -07:00
Cody Boone Ferguson 804ac36295 Update FAQ on reporting mkiocccentry bugs
It now refers to that repo's FAQ about this topic - where it belongs.
2024-07-31 10:50:12 -07:00
Cody Boone Ferguson 3deb7ae603 Improve markdown guidelines wording
Amongst the changes here is that we do not need to have the hex or html
code (numbers) for open and close parentheses (in links) as there are
names. '(' is & followed by lpar; and the ')' is the same but 'rpar;'
instead. This makes it easier to remember and type and it generates the
same html as well (they are all valid). Now the markdown files are
consistent in this (in some cases hex was used and in others the html
code).

Although many markdown files were updated no html files needed to be
updated as it generates the same html. Even so I ran the appropriate
rules to do so just to verify this.
2024-07-31 10:44:10 -07:00
Cody Boone Ferguson 571c24ee73 Minor fixes/updates to FAQ
Typo fixes, added a link name (for the other repo's FAQ) and maybe some
other minor fixes/updates.
2024-07-31 09:01:31 -07:00
Landon Curt Noll f6b15761b8 undo test by leave behind HTML fix 2024-07-31 01:47:02 -07:00
Landon Curt Noll 9a8cb0a5ed add temporary test of markdown link styles #2
Do not worry, this will go away after the test

We had to fix a prior HTML bug
2024-07-31 01:43:32 -07:00
Landon Curt Noll 3394a14dc0 add temporary test of markdown link styles
Do not worry, this change will go away soon
2024-07-31 01:35:34 -07:00
Landon Curt Noll 609bd44f67 fix and improve FAQ 0.16 2024-07-29 13:31:13 -07:00
Landon Curt Noll ed1afc7895 add How to I compile mkiocccentry and its related tools FAQ 2024-07-29 13:21:38 -07:00
Cody Boone Ferguson 31d1f8d256 Fix link in FAQ 2024-07-27 12:33:27 -07:00
Cody Boone Ferguson b70c510124 Add FAQs about the mkiocccentry tools
Several new FAQ entries have been added to discuss some of the details
of chkentry, txzchk, fnamchk, jparse and maybe others that are related
to the rules and guidelines (and in particular rule 17 and how to
package submission tarballs). As there are new FAQ entries on these
(which is much of what was in the guidelines) the guidelines have been
shortened for these additions.

Looking over the rendered html files it seems okay but I believe that
these entries are works in progress and not complete.

For reference the new FAQ version is 28.0.3 2024-07-27 and the new
guidelines version is 28.11 2024-07-27.
2024-07-27 12:27:39 -07:00
Cody Boone Ferguson 15713291d3 Remove tabs from faq.md 2024-07-26 12:26:53 -07:00