Commit Graph
181 Commits
Author SHA1 Message Date
Cody Boone Ferguson 4eedc740d9 Update tmp/things-todo.md
I noticed some issues in 2020/ferguson1/.winner.json that although is
for another issue I want to be sure to remember that this is one of the
ones that does in fact have a problem. Later on I can go through the
rest of them (not just mine but every one) and then make sure that
everything is okay.
2023-12-06 05:25:52 -08:00
Landon Curt Noll ee72f68777 test sidenav and topnav colors
Experiment with active and visited colors.

Added links for testing to content of tmp/test.html
as well.
2023-12-06 01:47:32 -08:00
Landon Curt Noll b40d35f4a2 added tmp/echo.sh test tool 2023-12-05 22:47:08 -08:00
Landon Curt Noll 03538ce774 cleanup manifest.numbers
Removed duplicate lines in manifest.numbers.
Fixed case problems with true, false and null.
Fixed leading and trailing whitespace problems.
Fixed multiple whitespace problems.

Improved fix_csv.sh to detect the above mentioned problems in
manifest.csv.

Updated manifest to reflect recent repo changes.
2023-12-05 22:33:08 -08:00
Landon Curt Noll cb9ad0bc11 update manifest
Updated manifest as per changes to files.
2023-12-05 03:52:35 -08:00
Landon Curt Noll 122142d39d update tmp purpose
Also mention the build-ioccc repo.
2023-12-03 13:47:57 -08:00
Landon Curt Noll 7d9111cdda update ioccc.css, add HTML templates & test page
The ioccc.css Cascading Style Sheet has updated.
This CSS will serve as a model for generated HTML pages,
especially HTML generated form markdown.
The top level HTML pages will also use this CSS.

This CSS is intended to be functional, black/gray/white, and
good enough for testing purposes.

Added HTML page templates that will be used
by tools in forming HTML pages:

* tmp/template-top.html
* tmp/template-header.html
* tmp/template-footer.html

See the modified
[tmp/README.md](https://ioccc-src.github.io/temp-test-ioccc/tmp/README.md#templates)
for info on the HTML page templates.

Added a test page containing dummy HTML:

* [tmp/test.html](https://ioccc-src.github.io/temp-test-ioccc/tmp/test.html)

This test page was generated from the above mentioned HTML page templates.
It is designed for 3 screen sizes:

* wide screens: 801 pixels wide and larger
* medium-sized screens: 401 pixels to 800 pixels wide
* small-sized screens: 400 pixels wide and smaller

NOTE: Some of top and side bar navigation links do not (yet) work.

If all goes well, the main web site can launch with web pages that
are based on the final ioccc.css.  After the main web site is update,
a web designer can improve the look and feel of the web site by
adjusting the ioccc.css, the HTML templates, and the tools used to
generate HTML content.
2023-11-29 23:35:08 -08:00
Cody Boone Ferguson 8df101cdf1 Restore YT link for 2006/sykes1 for now
Embedding videos has to be sorted out another time. Instead the
things-todo.md file has been updated for this.
2023-11-28 10:22:39 -08:00
Cody Boone Ferguson 9c9c0d3962 Update things-todo.md - about 2001/westley 2023-11-25 11:02:13 -08:00
Cody Boone Ferguson 750ad863d1 Typo fix in tmp/README.md file 2023-11-25 03:10:59 -08:00
Landon Curt Noll 551806fb3f renamed todo.md -> tmp/things-todo.md 2023-11-24 19:34:40 -08:00
Landon Curt Noll 486d3614b8 move ioccc.css to tmp/old-ioccc.css
The previous version of `/ioccc.css`, now `tmp/old-ioccc.css` to make
room for the new IOCCC css being developed.
2023-11-24 19:32:59 -08:00
Landon Curt Noll 3aafb6494b update manifest as per recent file changes
Changed "winner2nventory" tool to "winner2inventory" tool.
2023-11-09 14:10:05 -08:00
Landon Curt Noll e00d20111d rename .inventory.html -> inventory.html
Due to GitHub not serving nor rendering HTML files whose filename
starts with "." (dot), we renamed `.inventory.html` to `inventory.html`.

Renamed: `tmp/gen_dot_winner.sh` -> `tmp/gen_winner_json.sh`
Fixed URL generation for GitHub links in `inventory.html`.

The manifest was updated accordingly.

The `tmp/README.md` file was updated accordingly.
2023-11-06 02:23:30 -08:00
Landon Curt Noll 8968dd92c4 testing another GitHub rendering of 2020/ferguson1/inventory.html 2023-11-06 01:47:41 -08:00
Landon Curt Noll 09583c8856 testing GitHub rendering of 2020/ferguson1/inventory.html 2023-11-06 01:38:49 -08:00
Landon Curt Noll e037247cec test fix to URL generation fir gen_dot_winner.sh
Testing `2020/ferguson1/.inventory.html` and
a copy in `2020/ferguson1/inventory.html` due
to apparent GitHub HTML serving rules.
2023-11-06 01:32:47 -08:00
Landon Curt Noll e45db838e6 fix URLs generated by gen_dot_winner.sh for one entry
For 2020/ferguson1 as a test, we fixed the URLs generated
by `gen_dot_winner.sh`.

As GitHub seems to not want to render HTML of files
that start with "." we copied `2020/ferguson1/.inventory.html`
to `2020/ferguson1/inventory.html` as a test.
2023-11-06 01:22:54 -08:00
Landon Curt Noll 4f88c4214b add initial .winner.json and .inventory.html for winners
Fixed an incorrect author win for "1989_jar.2" in `author_wins.numbers`
and `author_wins.csv`.

Changed winner_JSON_format_version to "0.5 2023-11-04".

Added `gen_dot_winner.sh` tool to generate .winner.json and .inventory.html
for a winner.  This tool uses [pandoc](https://pandoc.org) to convert
markdown to HTML.

Used this command to generate `.winner.json` and `.inventory.html` for
all winners:

```sh
./run_all.sh -v 1 -D 1 ./gen_dot_winner.sh
```

Updated `tmp/README.md` to reflect the above.

Retired "fake.gen_inventory.sh" to `tmp/OLD_manifest/fake.gen_inventory.sh`.

Added `-D level` flag to `run_all.sh` to specify the `-v level` for
the tool that is being run.
2023-11-06 00:22:19 -08:00
Cody Boone Ferguson 558a44af76 Typo fixes in tmp/README.md and tmp/run_all.sh 2023-11-05 02:16:38 -08:00
Landon Curt Noll 1243a86d57 reorder fields in manifest.numbers
Moved winners_rank to 4th.
Moved ext to 11th.
Renamed path to file_path.

Updated README.md, fix_csv.sh accordingly.

Fix comment cut and paste error in fake.gen_inventory.sh.
2023-11-05 01:49:02 -07:00
Landon Curt Noll 4e00062a3e update manifest as per new file
Added 2020/tsoj/prog.alt.c to manifest.
2023-11-04 21:07:21 -07:00
Landon Curt Noll 175f15b9a6 update manifest as per recent file changes in winner directories 2023-11-04 03:54:04 -07:00
Landon Curt Noll 5e0aa1948f cleanup author_wins.numbers
Remove comments that are no longed needed now that good idea of
the header being frozen has been done.
2023-11-04 03:49:29 -07:00
Landon Curt Noll c442fa6331 cleanup author.numbers
Remove comments that are no longed needed now that good idea of
the header being frozen has been done.
2023-11-04 03:46:41 -07:00
Cody Boone Ferguson 2cbacc9e9a Freeze header rows in *.numbers
This is so that when scrolling down more than a page one can see what
the column is supposed to include.
2023-11-04 01:47:47 -07:00
Cody Boone Ferguson 57fb34ccca Add 1998/schweikh3/try.sh to manifest
I do not know if I completed it properly in manifest.numbers as I'm not
sure if I have th winner_rank value right: I just took it from another
try.sh field.

The path_list.{found,manifest,required}.txt files were also updated.
2023-11-04 01:45:35 -07:00
Cody Boone Ferguson d4032df767 Add tmp/format-headers.sh script from Landon
With a slight modification so that the script uses git ls-files so that
it only acts on files called README.md under the directories of the
years (i.e.  '[0-9]{4}/*README.md') that are under git control this
script formats headers so that the spacing before lines starting with
'##' (as in '^##') are correct. It checks for specific header names.
More could be added if necessary and if any heading level is wrong or it
is decided that a different heading level might be better the regexp can
be modified to fix it as well.

This script will be useful to run after every README.md file has been
updated.

Added to tmp/ as it is likely (or possibly?) a temporary tool that might
not be needed after the temp-test-ioccc repo is merged back into the
winner repo. On the other hand it might be useful to use after new
contests are run or even after some major edits of README.md files.

Uses perl in a bash loop.
2023-11-03 03:47:14 -07:00
Landon Curt Noll 50837e452e update manifest with new files
Added to manifest:

1994/schnitzi/schnitzi.alt2.c
1998/schnitzi/try.sh
2023-11-02 14:49:36 -07:00
Cody Boone Ferguson 0c4fab88b3 Temporarily :-) fix typo in fake.gen_inventory.sh
I can't help it and everyone knows it too. Even a typo in a temporary
file is a terrible tragedy that must be fixed. It has to be done. It
cannot be ignored! You might just want to call me the IOCCC corrections
officer! :-)
2023-11-01 06:47:18 -07:00
Landon Curt Noll 5f8b1a8841 rename fix_manifest_csv.sh -> fix_csv.sh, fix other CSV files
The fix_csv.sh now fixes the other 3 CSV files:

    author.csv
    author_wins.csv
    year_prize.csv
2023-11-01 01:43:57 -07:00
Landon Curt Noll 7cb3c44a3b removed .id files from winning dirs
The `.id` files are no longer needed and so they were removed.

The `winner_id` (the contents of the `.id` files) are simply
a concatenation of "year" and "_" and "dir".

Adjusted `.inventory.html`, `tmp/README.md`,
`tmp/fake.gen_inventory.sh`, and the manifest according
to the above.
2023-11-01 01:19:36 -07:00
Landon Curt Noll e69240ca3e add tmp/author_wins.numbers 2023-11-01 01:12:27 -07:00
Landon Curt Noll 542c687cb7 add year_prize.numbers
The year_prize.numbers is used to form year_prize.csv.
2023-11-01 01:00:28 -07:00
Landon Curt Noll a17fe36163 add tmp/fake.gen_inventory.sh tool
The new tool, tmp/fake.gen_inventory.sh, now adds
a fake .inventory.html file to each winner entry.

Once the winner2nventory tool is written, the .inventory.html
will contain links to all winner files listed in the inventory.
For now, the tmp/fake.gen_inventory.sh tool just creates
a placeholder file.
2023-11-01 00:47:43 -07:00
Landon Curt Noll 9f8daad1cb improve fake.gen_index.sh -v 5 output, minor manifest update 2023-11-01 00:36:56 -07:00
Landon Curt Noll f536673e44 improve Makefile description in manifest 2023-11-01 00:25:03 -07:00
Landon Curt Noll 2e5f868896 improve Nu Html Checker code in index.html 2023-11-01 00:17:07 -07:00
Landon Curt Noll 90de7d9a81 improve URL formed by fake.gen_index.sh for W3C validator 2023-10-31 23:59:11 -07:00
Landon Curt Noll 1148486536 test method to W3C validate 2020/yang/index.html 2023-10-31 23:55:06 -07:00
Landon Curt Noll 8f7bf4afd9 test fixed validator URL on 2020/yang/index.html 2023-10-31 22:50:21 -07:00
Landon Curt Noll 1883e441c7 remove use of FONT from stb index.html files
We are still seeing if we can get the validator to work.
2023-10-31 22:44:17 -07:00
Landon Curt Noll d6f3d20bac improve winner index.html for a validator attempt 2023-10-31 22:40:25 -07:00
Landon Curt Noll a42aeeca8f add stub index files for each winner 2023-10-31 22:26:09 -07:00
Landon Curt Noll 929381ba0d add tmp/fake.gen_index.sh and tmp/run_all.sh 2023-10-31 22:23:48 -07:00
Landon Curt Noll c3f4eba5c4 fix cd error message for gen_path_list.found.sh 2023-10-31 21:42:59 -07:00
Landon Curt Noll 7b8cc99fdd move .inventory.html to rank 900 in manifest 2023-10-31 19:07:09 -07:00
Landon Curt Noll f7287e4263 add .inventory.html for all entries to manifest 2023-10-31 19:02:45 -07:00
Landon Curt Noll e04cb74012 update manifest as per new 1990/jaw/try.sh 2023-10-31 18:41:20 -07:00
Landon Curt Noll 19d1fb4a52 update manifest and improve some winners_text
Updated the manifest based on recent file changes.

Improved some winners_text fields, especially those
that were previously null.
2023-10-29 16:11:02 -07:00