improve how status.json is displayed in status.html

The contents of `status.json` is now indented when
forming `status.html.

Changed `bin/status2html.sh` VERSION from to "1.3.1 2024-04-16"
to "1.4 2024-04-18".

Run `make gen_status` to perform the above.
This commit is contained in:
Landon Curt Noll committed 2024-04-18 15:53:48 -07:00
1 parent 99a2e1673a
commit b873e32f2f
3 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.3.1 2024-04-16"
export VERSION="1.4 2024-04-18"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -469,7 +469,7 @@ esac
#
echo '# status.json'
echo '```'
cat "$STATUS_JSON"
sed -e 's/^/ /' "$STATUS_JSON"
echo '```'
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_FILE"
+7 -7
View File
@@ -138,13 +138,13 @@
<p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the <a href="years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p>
<p>Watch both <a href="status.html">the IOCCC status page</a> and the <a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p>
<h1 id="status.json">status.json</h1>
<pre><code>{
&quot;no_comment&quot; : &quot;mandatory comment: because comments were removed from the original JSON spec&quot;,
&quot;IOCCC_status_version&quot; : &quot;1.0 2024-03-09&quot;,
&quot;contest_status&quot; : &quot;closed&quot;,
&quot;news_update&quot; : &quot;2024-04-12T18:22:04+00:00&quot;,
&quot;status_update&quot; : &quot;2024-03-31T05:02:06+00:00&quot;
}</code></pre>
<pre><code> {
&quot;no_comment&quot; : &quot;mandatory comment: because comments were removed from the original JSON spec&quot;,
&quot;IOCCC_status_version&quot; : &quot;1.0 2024-03-09&quot;,
&quot;contest_status&quot; : &quot;closed&quot;,
&quot;news_update&quot; : &quot;2024-04-18T22:49:50+00:00&quot;,
&quot;status_update&quot; : &quot;2024-03-31T05:02:06+00:00&quot;
}</code></pre>
<!-- END: next line ends content generated by: bin/status2html.sh -->
+1 -1
View File
@@ -2,6 +2,6 @@
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
"IOCCC_status_version" : "1.0 2024-03-09",
"contest_status" : "closed",
"news_update" : "2024-04-12T18:22:04+00:00",
"news_update" : "2024-04-18T22:49:50+00:00",
"status_update" : "2024-03-31T05:02:06+00:00"
}