From 21263839e15d8be719cd35a00fd4533577dcef50 Mon Sep 17 00:00:00 2001
From: Rob Landley
Date: Sun, 31 Oct 2021 19:47:06 -0500
Subject: [PATCH] Generate status.html directly instead of ssi-ing a
status.gen.
---
scripts/mkstatus.py | 11 ++++++++++-
www/status.html | 9 ---------
2 files changed, 10 insertions(+), 10 deletions(-)
delete mode 100755 www/status.html
diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py
index ea92a6f9..14ac85e6 100755
--- a/scripts/mkstatus.py
+++ b/scripts/mkstatus.py
@@ -97,7 +97,11 @@ print "implemented=%s" % len(toystuff)
# Write data to output file
-outfile=open("www/status.gen", "w")
+outfile=open("www/status.html", "w")
+outfile.write("""toybox current status
+
+Toybox Status
+""");
outfile.write("Status of toybox %s
\n" % version[0]);
outfile.write("Legend: %s pending
\n"%" ".join(map(lambda i: i[2]%(i[0].split("_")[0]), conv[:-2])))
@@ -130,3 +134,8 @@ for i in conv:
outfile.write("
\n")
outfile.write("
%s
\n" % "\n".join(allcmd))
+
+outfile.write("""
+See the Roadmap page for more information.
+
+""")
diff --git a/www/status.html b/www/status.html
deleted file mode 100755
index 8a1a5851..00000000
--- a/www/status.html
+++ /dev/null
@@ -1,9 +0,0 @@
-toybox current status
-
-Toybox Status
-
-
-
-See the Roadmap page for more information.
-
-
--
2.39.2