From 3ac0fb4f61b1663d2fed9e718fd2e21848e28e91 Mon Sep 17 00:00:00 2001
From: Landon Curt Noll
Date: Mon, 22 Apr 2024 00:22:56 -0700
Subject: [PATCH] fix IOCCC rules and guidelines web pages
Fix the Nu html check URL for `next/rules.html` and `next/guidelines.html`.
Restore building `next/rules.html` and `next/guidelines.html` by
`bin/gen-top-html.sh` and `make gen_top_html`. Also `make gen_status`
will rebuild these files if `status.json` changes or `news.html`
was modified.
Add cross links between `next/rules.html` and `next/guidelines.html`.
Changed `bin/gen-top-html.sh` VERSION from "1.4.3 2024-04-21"
to "1.4.4 2024-04-21".
Ran `make gen_top_html gen_status` to perform the above.
---
bin/gen-top-html.sh | 4 +++-
next/guidelines.html | 11 ++++++-----
next/guidelines.md | 2 ++
next/rules.html | 11 ++++++-----
next/rules.md | 2 ++
5 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/bin/gen-top-html.sh b/bin/gen-top-html.sh
index c55f7b186..8a1672090 100755
--- a/bin/gen-top-html.sh
+++ b/bin/gen-top-html.sh
@@ -87,7 +87,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.4.3 2024-04-21"
+export VERSION="1.4.4 2024-04-21"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -126,6 +126,8 @@ TOP_MD_SET+=("license")
TOP_MD_SET+=("markdown")
TOP_MD_SET+=("news")
TOP_MD_SET+=("next/README")
+TOP_MD_SET+=("next/rules")
+TOP_MD_SET+=("next/guidelines")
TOP_MD_SET+=("thanks-for-help")
#
export NOOP=
diff --git a/next/guidelines.html b/next/guidelines.html
index 7f56a83e2..9c50b0daa 100644
--- a/next/guidelines.html
+++ b/next/guidelines.html
@@ -25,14 +25,14 @@
-
-
+
+
-
-
-
+
+
+
@@ -155,6 +155,7 @@ and remains unaltered. All other uses must receive prior permission in
writing from the contest judges.
Guidelines version
| This guidelines file is version 2023-04-04-v28.
+IMPORTANT: Be sure to read the IOCCC rules.
Change marks
| ← Lines that start with this symbol indicate a change from the previous IOCCC
Most lines (we sometimes make mistakes) that were modified start the | symbol.
diff --git a/next/guidelines.md b/next/guidelines.md
index 05592e3a0..c6fae8815 100644
--- a/next/guidelines.md
+++ b/next/guidelines.md
@@ -34,6 +34,8 @@ writing from the contest judges.
**`|`** This guidelines file is version **2023-04-04-v28**.
+**IMPORTANT**: Be sure to read the [IOCCC rules](rules.html).
+
### Change marks
diff --git a/next/rules.html b/next/rules.html
index 23155b532..3bf08ccd1 100644
--- a/next/rules.html
+++ b/next/rules.html
@@ -25,14 +25,14 @@
-
-
+
+
-
-
-
+
+
+
@@ -155,6 +155,7 @@ and remains unaltered. All other uses must receive prior permission in
writing from the contest judges.
Rules version
| These rules are version 2024-04-04-v28.
+IMPORTANT: Be sure to read the IOCCC guidelines.
Change marks
| ← Lines that start with this symbol indicate a change from the previous IOCCC
Most lines (we sometimes make mistakes) that were modified start the | symbol.
diff --git a/next/rules.md b/next/rules.md
index 119d02737..d2a190559 100644
--- a/next/rules.md
+++ b/next/rules.md
@@ -34,6 +34,8 @@ writing from the [contest judges](../contact.html).
**`|`** These rules are version **2024-04-04-v28**.
+**IMPORTANT**: Be sure to read the [IOCCC guidelines](guidelines.html).
+
### Change marks