From 8968dd92c4700710975a76680de88dfecbc76515 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Mon, 6 Nov 2023 01:47:41 -0800 Subject: [PATCH] testing another GitHub rendering of 2020/ferguson1/inventory.html --- 2020/ferguson1/.inventory.html | 50 +++++++++++++++++----------------- 2020/ferguson1/inventory.html | 50 +++++++++++++++++----------------- tmp/gen_dot_winner.sh | 4 +-- tmp/run_all.sh | 5 ++-- 4 files changed, 55 insertions(+), 54 deletions(-) diff --git a/2020/ferguson1/.inventory.html b/2020/ferguson1/.inventory.html index 0f6441bb1..e8d0c9e3c 100644 --- a/2020/ferguson1/.inventory.html +++ b/2020/ferguson1/.inventory.html @@ -195,22 +195,22 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/index.html">ind winning source prog.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.c">prog.c Makefile Makefile +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/Makefile">Makefile alternative source prog.alt.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.alt.c">prog.alt.c original source prog.orig.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.orig.c">prog.orig.c about compiling @@ -235,12 +235,12 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/crazy.log.html" how to run play.sh +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/play.sh">play.sh script to reset - preset colors snake-colours.sh +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/snake-colours.sh">snake-colours.sh bugs and mis-features @@ -260,28 +260,28 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/gameplay.html"> source with more digraphs prog.2.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.2.c">prog.2.c source with artistic layout and shorter j macro prog.3-j.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.3-j.c">prog.3-j.c source with a more artistic layout prog.3.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.3.c">prog.3.c snake game man page snake.1 +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/snake.1">snake.1 terminal capability test source code termcaps.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/termcaps.c">termcaps.c terminal capability documentation @@ -306,38 +306,38 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/2020_ferguson1. full inventory of all winner files .inventory.html +href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/inventory.html">inventory.html list of files that should not be committed under git .gitignore +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.gitignore">.gitignore description of winner in JSON .winner.json +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.winner.json">.winner.json markdown source for crazy.log.html COMPILING.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/COMPILING.md">COMPILING.md markdown source for HACKING.html HACKING.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.md">HACKING.md markdown source for index.html README.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/README.md">README.md markdown source for bugs.html bugs.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.md">bugs.md image for chocolate cake @@ -348,23 +348,23 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/cake.jpg">cake. markdown source for chocolate-cake.html cannibalism.log.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/cannibalism.log.md">cannibalism.log.md markdown source for chocolate-cake.html chocolate-cake.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/chocolate-cake.md">chocolate-cake.md markdown source for deckmyn.html crazy.log.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/crazy.log.md">crazy.log.md markdown source for gameplay.html gameplay.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/gameplay.md">gameplay.md image for bugs.md @@ -379,18 +379,18 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/ioccc-cake.jpg" markdown source for spoilers.html spoilers.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/spoilers.md">spoilers.md markdown source for terminals.html terminals.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/terminals.md">terminals.md markdown source for troubleshooting.html troubleshooting.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/troubleshooting.md">troubleshooting.md diff --git a/2020/ferguson1/inventory.html b/2020/ferguson1/inventory.html index 0f6441bb1..e8d0c9e3c 100644 --- a/2020/ferguson1/inventory.html +++ b/2020/ferguson1/inventory.html @@ -195,22 +195,22 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/index.html">ind winning source prog.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.c">prog.c Makefile Makefile +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/Makefile">Makefile alternative source prog.alt.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.alt.c">prog.alt.c original source prog.orig.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.orig.c">prog.orig.c about compiling @@ -235,12 +235,12 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/crazy.log.html" how to run play.sh +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/play.sh">play.sh script to reset - preset colors snake-colours.sh +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/snake-colours.sh">snake-colours.sh bugs and mis-features @@ -260,28 +260,28 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/gameplay.html"> source with more digraphs prog.2.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.2.c">prog.2.c source with artistic layout and shorter j macro prog.3-j.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.3-j.c">prog.3-j.c source with a more artistic layout prog.3.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.3.c">prog.3.c snake game man page snake.1 +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/snake.1">snake.1 terminal capability test source code termcaps.c +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/termcaps.c">termcaps.c terminal capability documentation @@ -306,38 +306,38 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/2020_ferguson1. full inventory of all winner files .inventory.html +href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/inventory.html">inventory.html list of files that should not be committed under git .gitignore +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.gitignore">.gitignore description of winner in JSON .winner.json +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.winner.json">.winner.json markdown source for crazy.log.html COMPILING.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/COMPILING.md">COMPILING.md markdown source for HACKING.html HACKING.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.md">HACKING.md markdown source for index.html README.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/README.md">README.md markdown source for bugs.html bugs.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.md">bugs.md image for chocolate cake @@ -348,23 +348,23 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/cake.jpg">cake. markdown source for chocolate-cake.html cannibalism.log.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/cannibalism.log.md">cannibalism.log.md markdown source for chocolate-cake.html chocolate-cake.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/chocolate-cake.md">chocolate-cake.md markdown source for deckmyn.html crazy.log.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/crazy.log.md">crazy.log.md markdown source for gameplay.html gameplay.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/gameplay.md">gameplay.md image for bugs.md @@ -379,18 +379,18 @@ href="https://ioccc-src.github.io/temp-test-ioccc/2020/ferguson1/ioccc-cake.jpg" markdown source for spoilers.html spoilers.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/spoilers.md">spoilers.md markdown source for terminals.html terminals.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/terminals.md">terminals.md markdown source for troubleshooting.html troubleshooting.md +href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/troubleshooting.md">troubleshooting.md diff --git a/tmp/gen_dot_winner.sh b/tmp/gen_dot_winner.sh index b07076c9e..ae4b74fe2 100755 --- a/tmp/gen_dot_winner.sh +++ b/tmp/gen_dot_winner.sh @@ -46,7 +46,7 @@ export PANDOC="/opt/homebrew/bin/pandoc" export V_FLAG=0 export DOMAIN="ioccc-src.github.io" export DOCPATH="/temp-test-ioccc" -export GITHUB_REPO="https://github.com/ioccc-src/temp-test-ioccc" +export GITHUB_REPO="https://github.com/ioccc-src/temp-test-ioccc/blob/master" export TOPDIR=".." # usage @@ -61,7 +61,7 @@ export USAGE="usage: $0 [-h] [-v level] -d www.domain.org change domain (def: $DOMAIN) -p /path/to/docroot use path under domain to document root (def: $DOCPATH) -g github_url path to the GitHub repo (def: $GITHUB_REPO) - -t topdir path to top of the local GitHub repo tree (def: $TOPDIR) + -t topdir path to top of the local tree (def: $TOPDIR) -P /path/to/pandoc path to the pandoc tool (def: $PANDOC) year[/dir] path to winner directory (or just year if there is a path arg diff --git a/tmp/run_all.sh b/tmp/run_all.sh index 8c59f626f..7c710d852 100755 --- a/tmp/run_all.sh +++ b/tmp/run_all.sh @@ -31,7 +31,7 @@ # setup # -export VERSION="1.0 2023-10-31" +export VERSION="1.0.1 2023-11-06" NAME=$(basename "$0"); export NAME EXIT_CODE=0 # @@ -39,7 +39,7 @@ export V_FLAG=0 export CAP_D_FLAG=0 export DOMAIN="ioccc-src.github.io" export DOCPATH="/temp-test-ioccc" -export GITHUB_REPO="https://github.com/ioccc-src/temp-test-ioccc" +export GITHUB_REPO="https://github.com/ioccc-src/temp-test-ioccc/blob/master" export TOPDIR=".." export WINNER_DIR_TXT="winner_dir.txt" @@ -133,6 +133,7 @@ esac # if [[ $V_FLAG -ge 3 ]]; then echo "$0: debug[3]: V_FLAG=$V_FLAG" 1>&2 + echo "$0: debug[3]: CAP_D_FLAG=$CAP_D_FLAG" 1>&2 echo "$0: debug[3]: DOMAIN=$DOMAIN" 1>&2 echo "$0: debug[3]: DOCPATH=$DOCPATH" 1>&2 echo "$0: debug[3]: GITHUB_REPO=$GITHUB_REPO" 1>&2