Commit Graph
100 Commits
Author SHA1 Message Date
Landon Curt Noll 7b100f1264 reduce bold links in a few link heavy areas
While the use of `**font-weight: bold;` helps links standout in
most cases, there a few "_link heavy_" pages were the **MANY BOLD
LINK IN CLOSE PROXIMITY** looks excessive to the point of being
distracting.  In areas where **nearly everything is BOLD, nothing
seems to stand out**.

Fortunately there seems to be only a very few places where this is a problem:

* `faq.html` - the table of contents
* `authors.html` - nearly the entire page
* `location.html` - nearly the entire page
* `years.html` - nearly the entire page

As an **bold** 😎 experiment we added to the CSS:

```css
/*
 * To make a link non-bold, use: <a class="normal" href="url">link text</a>
 */
a.normal {
    font-weight: normal;
}
```

And then modified select tools and a markdown file to "_unbold_"
those "_link heavy_"  areas of the 4 pages above.

We don't claim that this is the best solution and there may be an
even better way to solve this, nevertheless we **do** think the it
improves the look and feel of the "_link heavy_"  areas of the 4
pages above.   For example, in `faq.html` beyond the table of
contents, the bold links look reasonable (although again there are
some quasi-"_link heavy_" areas down in the page look a bit too
bold, but perhaps not enough to warrant changing so we only altered
the table of contents).

In a few cases, while we were editing code that generated links,
we remove a few "**.**"'s where we didn't think they helped the
look and feel.

Change `bin/gen-authors.sh` VERSION from "1.10.3 2024-05-24"
to "1.10.4 2024-07-13".

Change `bin/gen-location.sh` VERSION from "1.4.2 2024-05-19"
to "1.4.3 2024-07-13".

Change `bin/gen-years.sh` VERSION from "1.3.3 2024-07-07"
to "1.3.4 2024-07-13".

Performed `make www` to accomplish the above and to test under macOS.
2024-07-13 19:56:02 -07:00
Landon Curt Noll 310f7bd8ee fix files that were modified by make www 2024-07-09 13:44:49 -07:00
Landon Curt Noll f3aa3c8112 fix output_award function in certain bin files
Repaired the output_award function in `bin/gen-years.sh`
and `bin/output-year-index.sh`.

Previous modifications to the output_award function made
is impossible to detect if output was empty.
Modifications also ran counter the Unix concept that a function
should ideally to one thing and one thing well.

Changed so that the code that called the output_award function
would decorate the award with bold markdown syntax.

Changed `bin/gen-years.sh` VERSION from "1.3.2 2024-05-19"
to "1.3.3 2024-07-07".

Changed `bin/output-year-index.sh` VERSION from "1.4.1 2024-04-28"
to "1.4.2 2024-07-07".

Ran `make www` to perform the above and test under macOS.
2024-07-07 12:56:17 -07:00
Landon Curt Noll 892f7daf41 fix thanks-for-help.html that was built by make www
Perhaps we need a test, run under `make test`, to look for
cases where 'foo.html' is older than 'foo.md` or where
`index.html` is older than `README.md`, etc. ???
2024-07-07 11:04:34 -07:00
Landon Curt Noll ed96c2288f rename test.yml to sanity check 2024-07-07 00:39:39 -07:00
Landon Curt Noll 2e2ae5f132 add notices to those who wish for a greater challenge
We add the following level-3 header to help people identify text
they may wish to skip if they wish for a greater challenge:

```
```

After that notice we add:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program via the source.

If you get stuck, come back and read below for additional hints and information.
```

And sometimes follow with:

```
```

Or sometimes follow with:

```
```

Where the alt code impacts a "greater challenge", we add instead:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program without looking at the Alternate code.

If you get stuck, come back and look at the Alternate code.
```

And where a given command impacts a "greater challenge", we add instead:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program without running the command below.

If you get stuck, come back and run the following command:
```

Perform `make www` to perform the above and test under macOS.
2024-07-07 00:25:20 -07:00
Landon Curt Noll 7af7a80cca Use git ls-files to find files under git in bin/chk-entry.sh
Thanks to @xexyl for the suggestion.

Changed `bin/chk-entry.sh` VERSION from "1.1.7 2024-04-28"
to VERSION="1.1.8 2024-07-06".

Performed `make test` to test the above.
2024-07-06 21:22:56 -07:00
Landon Curt Noll a72cff909f test for initial make test workflow 2024-07-04 18:29:59 -07:00
Landon Curt Noll 96c113d225 complete All Done!!! All Done!!! -- Jessica Noll, Age 2 2024-07-04 13:53:10 -07:00
Landon Curt Noll a379463919 add make test to top level Makefile 2024-07-03 11:50:09 -07:00
Landon Curt Noll 54317f44b8 fix change to 2020/ferguson1/index.html that was missed 2024-07-02 11:21:06 -07:00
Landon Curt Noll 5dd3311e9e fix the remaining spoilers 2024-07-01 01:16:26 -07:00
Landon Curt Noll 85c991620f convert spoiler filenames into deobfuscation filenames 2024-07-01 01:02:40 -07:00
Landon Curt Noll 3aec80f057 convert more spoiler into deobfuscation 2024-06-30 23:23:48 -07:00
Landon Curt Noll 4d6009b58f convert spoiler language and towards deobfuscation language 2024-06-30 23:07:18 -07:00
Landon Curt Noll 50a2a6293c add CUNKNOWN make variables to entry Makefiles 2024-06-30 21:29:27 -07:00
Landon Curt Noll 4d37308d12 add draft FAQ about contributing deobfuscated code 2024-06-30 18:41:50 -07:00
Landon Curt Noll e50d9f2620 change some build individual HTML files to use -v 1 2024-06-30 18:34:59 -07:00
Landon Curt Noll f335a9b415 update rules and guideline headers
Harmonized and improve the headers that are prepended
to the rules and guidelines given the IOCCC state.

Attempted to make the headers that are prepended
to the rules and guidelines more consistent.

Make reference to, where applicable, FAQs
about feedback and questions in those headers.

Perform `make www` to perform the above and test under macOS.
2024-06-30 16:19:11 -07:00
Landon Curt Noll 91adb55e07 improve and add FAQ about rules, guidelines, tools 2024-06-30 15:50:42 -07:00
Landon Curt Noll 4af3d3f1bf improve the to mastodon users 2024-06-30 14:25:53 -07:00
Landon Curt Noll 637b83badd fix make gen_status
The `make gen_status` now also invokes `make gen_next`
instead of `make gen_top_html`.
2024-06-30 14:24:26 -07:00
Landon Curt Noll d273ba6c2b restore and improve previous Makefile edits
NOTE: There were a number of conflicts with this pull request
      that we had to resolve.
2024-06-30 14:10:38 -07:00
Landon Curt Noll 28e6c86041 improve format and order of HTML building rules
Updated `make help`, updated .PHONY, added
missing begin and end echos, fixed order,
misc cleanup.
2024-06-30 13:20:13 -07:00
Landon Curt Noll 0957b9ba6a fix make tab_check issues, change tab_check more portable 2024-06-29 15:20:09 -07:00
Landon Curt Noll 668a6f6b8d change old !-route into a historic quote 2024-06-29 15:02:37 -07:00
Landon Curt Noll f8a2c9defc fix formatting problem in guielines
.. as reported by @SirWumpus via issue #2511

Ran `make gen_top_html` to complete the above.
2024-06-29 14:24:41 -07:00
Landon Curt Noll 1e2793bf5b improve IOCCC rules and guidelines
Fixed a number of typos, inconsistencies, and problems with the
rules and guidelines.

Improved how the closed version of the rules and guidelines declare
themselves at the top of the markdown and HTML file.

Changed `next/rules.md` VERSION from "2024-06-29-v28"
to "28.1 2024-06-29" in order to be more consistent
with IOCCC tool version format.

Changed `next/guidelines.md` VERSION from "2024-06-29-v28"
to "28.1 2024-06-29" in order to be more consistent
with IOCCC tool version format.

Make a minor format fix to `faq.md`.

Performed `make status` and `make www` to test the above umder macOS.
2024-06-29 02:15:38 -07:00
Landon Curt Noll 300b06debd fix the closed form of rules and guidelines 2024-06-29 01:38:23 -07:00
Landon Curt Noll ce05938987 add IOCCC support content to the guidelines and FAQ
This is also a compromise for the idea of "fixing the IOCCC judges".

Perform `make www` to perform the above and test under macOS.
2024-06-28 17:57:32 -07:00
Landon Curt Noll 9700f7abf5 add changes that make www made 2024-06-27 21:15:37 -07:00
Landon Curt Noll fa132223a8 fix broken links identifed by make find_missing_links 2024-06-26 13:41:01 -07:00
Landon Curt Noll 70a494b8e4 expand tabs in files caught by make tab_check 2024-06-26 13:33:03 -07:00
Landon Curt Noll 778f57b318 remove Makefile assignment of MAKE
For systems such as BSD that use gmake, do not set `MAKE=`.
2024-06-25 18:28:04 -07:00
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 6eebade91b expand tabs in recent markdown changes that violate tab_check 2024-06-25 14:14:46 -07:00
Landon Curt Noll 1110280c24 add guidelines about compiler warning, change c11 to gnu17 2024-06-24 18:42:26 -07:00
Landon Curt Noll 4690ba97c1 expand on guidelines relating to rule violations 2024-06-24 18:21:12 -07:00
Landon Curt Noll 93081c8f5d improvements to Rule 2 in rules and guidelines 2024-06-24 18:10:15 -07:00
Landon Curt Noll bcd73781c0 fix a minor typo in next/guidelines.md 2024-06-24 15:07:32 -07:00
Landon Curt Noll 6abd69c5c7 fix formatting errors in next/guidelines.md
Sorry (tm Canada 🇨🇦).
2024-06-24 15:02:55 -07:00
Landon Curt Noll 5c710b39e7 reverted most quotes in guidelines.md
The way that markdown quotes are currently formatted (with a gray
vertical line) looks too much like a change bar.  The change bar
is an important tool to help notice new and changed rules and
guidelines.  Unfortunately the current quotes style looks too much
like a change bar, so we use markdown quotes **ONLY** for literal
quotes (such as from Mark Twain) in the `guidelines.md` file.
2024-06-24 15:01:02 -07:00
Landon Curt Noll 51130083c4 check for any ASCII tabs anywhere in markdown files
Clarified and simplified the request to not use ASCII tabs within
markdown file content.

Added _guidelines_ to `next/guidelines.md` about not using ASCII
tab characters in markdown files while stating that is just fine
to use ASCII tabs in non-markdown files and C code.

The `make tab_check` rule now simply checks for ASCII tabs within
markdown files, except `markdown.md` where they are required to
serve as examples of what not to do.

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

Perform `make www` to perform the above and test under macOS.
2024-06-24 14:52:00 -07:00
Landon Curt Noll 4bd1916871 check for leading ASCII tabs in leading whitespace in markdown files
Given that there are no longer any ASCII tab characters within
leading whitespace in markdown files, commit XXX added a `make
tab_check` rule to the top level `Makefile`.  Moreover both `make
quick_www` and `make www` perform a `make tab_check` after running
`make clobber`.

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

Perform `make www` to perform the above and test under macOS.
2024-06-24 12:55:43 -07:00
Landon Curt Noll 7712db4a17 Expand all leading tabs in markdown files
Given how problematic leading tabs in markdown files can be,
we have expanded all leading tabs in markdown files by:

```sh
find * -type f -name '*.md' -print |
  while read -r file; do
    rm -f "$file.tmp" ;
    expand < "$file" > "$file.tmp" ;
    mv -f -v "$file.tmp" "$file" ;
  done
```

Given the previous changes to `bin/pandoc-wrapper.sh` and other recent
commits and recent pull requests, the were were **NO** changes to
any HTML files.  This is a **good thing** as the expression goes.

No there are no leading tabs in any markdown files.
A check to catch any re-introduction of leading tabs
into any markdown file is on the way.

BTW: We do not have anything against leading tabs in files,
even though we have had to deal with their impact on forming
HTML from markdown files (as well as the calc source code).
It is just that this is one of those cases where tabs conflict
(sometimes caused by people wanting to change the classic
8-space tab model) with a desired outcome.

Perform `make www` to perform the above and test under macOS.
2024-06-24 11:57:35 -07:00
Landon Curt Noll 20d0b2a8d4 improve references to IOCCC rules and IOCCC guidelines
Each individual IOCCC rule has its own div tag.

References to a specific IOCCC rule is now a link.

We now use the term **IOCCC rules** more consistency when
referring to the rules.

We now use the term **IOCCC guidelines** more consistency when
referring to the guidelines.

In the **IOCCC guidelines**, we use _guideline_ when
referring to a general guideline.

Updated  **IOCCC rules** and  **IOCCC guidelines** to 2024-06-23-v28.

Added guidelines about the recent Rule 2a changes.

Improved to order of the guidelines related to Rule 2.

Added a ">" formatted quote about the iocccsize summary to the IOCCC guidelines.

Perform `make www` to perform the above and test under macOS.
2024-06-23 13:51:40 -07:00
Landon Curt Noll 02c0cd30af update the (we forgot to add) the next/rules.html too 2024-06-23 12:39:14 -07:00
Landon Curt Noll 5c2733bc24 fix rule 2a to be consistent with the FAQ :) 2024-06-23 12:38:22 -07:00
Landon Curt Noll af05374a19 change to bugs.html (again?) due to make www
Didn't this get fixed before .. or is there some deeper
problem going on here?
2024-06-23 12:35:24 -07:00
Landon Curt Noll 71280fc6de fix 1992/westley/README.md
Improve the formatting in `1992/westley/README.md`
and thus the resulting `1992/westley/index.html`.

Corrected a mistake on the use of `./whereami.alt`.

Perform `make www` to perform the above and test under macOS.
2024-06-23 00:13:30 -07:00
Landon Curt Noll e66631b543 convert leading TAB chars into 8 spaces before running pandoc
The `bin/pandoc-wrapper.sh` tool will use `expand(1)` to expand
leading ASCII TAB characters into multiples of 8 ASCII space
characters on all markdown data before piping it into `pandoc(1)`.
Thus, any leading ASCII TAB character in markdown files will be
automatically converted into spaces using 8 character tabs.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.6.3 2024-06-22"
to "1.7 2024-06-22" to preform the above.

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

It turns out that only one other HTML file was impacted: `bugs.html`.
All other leading ASCII tab characters have been rendered
[Mostly Harmless](https://en.wikipedia.org/wiki/Mostly_Harmless).  :)
2024-06-22 23:48:49 -07:00
Landon Curt Noll 2626143532 fix typo in markdown.md 2024-06-22 23:23:22 -07:00
Landon Curt Noll c482321046 fix pandoc-wrapper.sh error code and ,gitignore sort comment
When `bin/pandoc-wrapper.sh` encounters a fatal error, it will
leave behind `debug.input.md` and `debug.output.html`.

Added `debug.input.md` and `debug.output.html` to `.gitignore`.

The `.gitignore` file comment noew refers to `sgi.sh` not sgi.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.6.2 2024-04-18"
to 1.6.3 2024-06-22" to preform the above.

Perform `make www` to perform the above and test under macOS.
2024-06-22 22:46:03 -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
Landon Curt Noll affbd30553 fix 1992/westley/README.md, warn about TAB intending in markdown.md
One must **NOT** use ASCII TAB characters to intent text.  Down the TAB-ed
road is nothing but trouble!  There are _quasi-solutions_, however those
have side effects that lead to a different set of problems.

The `markdown.md` was updated to ask that text not be intended with ASCII tabs.

See [Please do NOT use ASCII tabs to indent
text](https://ioccc-src.github.io/temp-test-ioccc/markdown.html#markdown.html#please-do-not-specify-a-language-for-a-code-block).

We discovered this awhile ago and fixed it in markdown files.  Sorry
(tm Canada 🇨🇦), we forgot to mention this this in `markdown.md`.

BTW: It took some **deep magic** to be able to show an HTML comment
after a starting fenced markdown code block!  See the **NO_COMMENT=**
line in `bin/md2html.cfg`.  :-)

TODO: Stamp out indenting TABs in markdown files, especially in code blocks.

TODO: Consider a rule to detect problematic ASCII TAB intendation
      within makrkdown files.
2024-06-22 21:38:03 -07:00
Landon Curt Noll 76630fd521 improve look of Rule 6
Used an even more of a hack to format Rule 6 well.

Performed `make www` to test the result.
2024-06-22 09:11:51 -07:00
Landon Curt Noll 9109c81ac9 complete change to rule 6
Performed `make www`.
2024-06-22 09:04:06 -07:00
Landon Curt Noll b84982ad46 fix missing tool debug in bin/gen-status.sh 2024-06-21 22:39:20 -07:00
Landon Curt Noll 3dacba6a44 complete stat fix
The previous commit missed changes related to the LS_TOOL.

Perform `make www` to perform the above and test under macOS.
2024-06-21 22:13:28 -07:00
Landon Curt Noll ccc53f83e5 improved how stat tool is used
Detect were the stat tool is located.  If no stat tool is found,
set `$STAT_TOOL` to `false`.  Cleanup comments related to
determining the modification time of a file.

Changed `bin/gen-sitemap.sh` VERSION from "1.3.8 2024-04-28"
to "1.3.9 2024-06-21".

Changed `bin/gen-status.sh` VERSION from "1.5.2 2024-04-30"
to "1.5.3 2024-06-21".

Perform `make www` to perform the above and test under macOS.
2024-06-21 21:44:23 -07:00
Landon Curt Noll 8fb4edb6f5 change reported by make www 2024-06-21 13:15:28 -07:00
Landon Curt Noll d6d4c1cacb fix errors caught by running make www 2024-06-19 13:26:33 -07:00
Landon Curt Noll 973e15a82f update via make www due to previous pull requests 2024-06-18 12:34:12 -07:00
Landon Curt Noll 8d4f872dfb improve the README.md text that will go away 2024-06-16 08:39:50 -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 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 6e698b238a changed web site to website 2024-06-07 02:10:24 -07:00
Landon Curt Noll a59b81572c add note about tweeted in 2019/mills 2024-06-01 17:34:09 -07:00
Landon Curt Noll dede0bb7cd improved the h2 title for HTML from markdown other than README.md
For HTML files from markdown files other than README.md, the h2
title now refers to the HTML file instead of the markdown file.

Changed `bin/gen-other-html.sh` VERSION from "1.2.3 2024-04-28"
to "1.2.4 2024-05-31" to perform the above.

Perform `make www` to perform the above and test under macOS.
2024-05-31 18:09:35 -07:00
Landon Curt Noll 8f0fede49a fix make gen_status and make timestamp order 2024-05-31 15:37:57 -07:00
Landon Curt Noll 87a444c508 update news status 2024-05-31 15:34:53 -07:00
Landon Curt Noll 650849b523 add news for 2024-05-30 2024-05-30 13:48:15 -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
Landon Curt Noll 39fe3e0824 move make sort_gitignore under make tar
The `make sort_gitignore` rule is now under `make tar`
and is no longer invoked by `make quick_www` nor by
`make www`.
2024-05-29 14:08:47 -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 2869852831 add suggestions for visitors about menus 2024-05-29 13:19:59 -07:00
Landon Curt Noll 5cb1870594 remove double negative from markdown.md heading 2024-05-28 15:31:54 -07:00
Landon Curt Noll ce662db192 add IOCCC markdown to the About menu 2024-05-28 15:22:22 -07:00
Landon Curt Noll ba80b35457 improve markdown.md
Move notes about HTML elements to the top.

Align the "<=== no thank you" notices.

Say please more.  :-)

Fixed a few minor nits.
2024-05-28 14:06:42 -07:00
Landon Curt Noll adbcf5514d fix bin/find-missing-links.sh problem with faq.md 2024-05-27 18:20:41 -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
Landon Curt Noll 36ab67dfd3 fix Makefile bugs, improve make help quick_www www, status.html formation
Fixed errors in `1991/davidguy/Makefile`, `2000/bmeyer/Makefile`
and `2012/kang/Makefile` where a multi-line `CSILENCE` make variable
was not properly continued onto the next line.

Improve the output of `make quick_www` and `make www` no be less
verbose and more informative.  Doing this allowed us to uncover
some bugs in the above mentioned entry Makefiles.

The `make quick_www` and `make www` no longer perform a
`make gen_status`.

The `make gen_top_html` rule, via `bin/gen-top-html.sh` will form
`status.html` based solely on the contents of `status.md`.  Only
the `make gen_status` rule will modify `status.md` if needed, and
then rebuild `status.html` if needed.

The `status.html` file was updated to reflect the common way that
`make gen_top_html` forms this file.  The `make timestamp` performs
a `make gen_top_html` after running `make gen_status` so that the
resulting  `status.html` file matches what `make quick_www` and
`make www` would produce.

Changed `bin/gen-top-html.sh` VERSION from "1.4.5 2024-05-19"
to "1.4.6 2024-05-24" to perform the above.

Improved the text written by `make help`.

Added "for $TOOL" to the debug output of `bin/all-run.sh` to
help identify the tool performing the action.

Changed `bin/all-run.sh` VERSION from "1.3.3 2024-04-13"
to "1.3.4 2024-05-24" to perform the above.

Moved `make gen_other_html` after `make entry_index` and after the
`make quick_entry_index` in `make quick_www` and `make www`.

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

Perform `make www` to perform the above and test under macOS.
2024-05-24 16:31:36 -07:00
Landon Curt Noll 578651ecf4 remove unused inc files
The inc files that have been removed were from the days, prior to
commit 97f6da1247 when the web site
used left side links and right side content.  Now, no web IOCCC
web pages use them so there have been removed so as to not
needlessly complicate the `inc/` directory with unused stuff.
2024-05-24 15:00:27 -07:00
Landon Curt Noll d33973bd57 update a few minor comments in ioccc.css
This is a comment only edit.
2024-05-24 14:37:57 -07:00
Landon Curt Noll dacfdd079b make images even more responsive in HTML pages 2024-05-24 14:23:22 -07:00
Landon Curt Noll 07b8fcc4d7 make images more responsive in HTML pages
We add the following default IOCCC setting to `ioccc.css`:

```css
img {
    height: auto;
    max-width: 95%;
    position: relative;
}
```

We also modified `ioccc.css` to use consitent 4 space indentation.
No other `ioccc.css` changes were made.
2024-05-24 14:18:17 -07:00
Landon Curt Noll 128900352a fix HTML typo in authors.html 2024-05-24 11:57:08 -07:00
Landon Curt Noll 194e0adeb6 improve "is for" headers in authors.html
The "letter is for" is now inside HTML italics and
the C keyword is now inside HTML code.

Using lower case letters as the C keywords are
also in lower case and we prefer lower case.

Changed `bin/gen-authors.sh` VERSION from "1.10.2 2024-05-19"
to "1.10.3 2024-05-24" to perform the above.

Perform `make gen_authors` to perform the above.
2024-05-24 11:28:53 -07:00
Landon Curt Noll f2a629d073 test if HTML italics is allowed in HTML headers
As per
[comment-212792541](https://github.com/ioccc-src/temp-test-ioccc/issues/2006#issuecomment-2127925419)
we have added HTML italics around the "float" in "f is for float"
HTML header.

Perform `make gen_authors` to test the above.
2024-05-24 11:13:47 -07:00
Landon Curt Noll 69c38e0a48 correctly process non-zero EXIT_CODE, fix 2020/endoh2/README.md
We found cases where pandoc reported a conversion from markdown to
HTML problem that, while reported by the `bin/pandoc-wrapper.sh`
to `bin/md2html.sh`, which in turn reported to error to the tool
calling it, the tool calling `bin/md2html.sh` set `$EXIT_CODE` to
a non-zero value in order to delay the abort but then failed to act
on the non-zero `$EXIT_CODE` value at the end.

In a number of cases when `$EXIT_CODE` was set to non-zero, the
stderr message was labeled as a "Warning" instead of an "ERROR".

Fixed a bug in `bin/gen-authors.sh` that resulted the generation
of invalid markdown/HTML.  An `<hr>` HTML tag inside a `<div>` span
caused pandoc to issue "Div at .. closing implicitly" at the _hr_
HTML tag line.  For some reason, one cannot place a `<hr>`
(horizontal line) inside a `<div ... /div>` span.

Fixed a broken markdown links in `2020/endoh2/README.md` whose error
was hidden by one of the above mentioned problems.

Changed `bin/gen-authors.sh` VERSION from "1.10.1 2024-05-07"
to "1.10.2 2024-05-19" as a result of the above changes.

Changed `bin/gen-location.sh` VERSION from "1.4.1 2024-04-28"
to "1.4.2 2024-05-19" as a result of the above changes.

Changed `bin/gen-top-html.sh` VERSION from "1.4.6 2024-05-05"
to "1.4.5 2024-05-19" as a result of the above changes.

Changed `bin/gen-years.sh` VERSION from "1.3.1 2024-04-28"
to "1.3.2 2024-05-19" as a result of the above changes.

Changed `bin/quick-readme2index.sh` VERSION from "1.1.4 2024-04-13"
to "1.1.5 2024-05-19" as a result of the above changes.

Changed `bin/readme2index.sh` VERSION from "1.2.4 2024-04-14"
to "1.2.5 2024-05-19" as a result of the above changes.

Performed `make www` to test the above under macOS.
2024-05-19 14:15:31 -07:00
Landon Curt Noll 0ea819884e fix minor typos in comments on bin/output-index-author.sh 2024-05-14 13:15:04 -07:00
Landon Curt Noll fe41fdc9dc remove redundant check in readme2index.sh
Changed `bin/readme2index.sh` VERSION from "1.2.3 2024-04-13"
to "1.2.4 2024-04-14".

Ran `make www` to perform test the above under macOS.
2024-05-14 13:06:16 -07:00
Landon Curt Noll d13dffa07a use a more compact footer
The footer, including the copyright, is now more compact.

Ran `make www` to perform test the above under macOS.
2024-05-12 19:32:12 -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 d0d7edd6ca install 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.

Ran `make www` to perform test the above under macOS.
2024-05-12 17:21:49 -07:00