aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-10-31 19:47:06 -0500
committerRob Landley <rob@landley.net>2021-10-31 19:47:06 -0500
commit21263839e15d8be719cd35a00fd4533577dcef50 (patch)
tree987777333aa05dca2a22652a53808e65d9343a98 /scripts
parentb0e204b33d77df151e2c33c48973820ba0fe0ca7 (diff)
downloadtoybox-21263839e15d8be719cd35a00fd4533577dcef50.tar.gz
Generate status.html directly instead of ssi-ing a status.gen.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkstatus.py11
1 files changed, 10 insertions, 1 deletions
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("""<html><head><title>toybox current status</title>
+<!--#include file="header.html" -->
+<title>Toybox Status</title>
+""");
outfile.write("<h1>Status of toybox %s</h1>\n" % version[0]);
outfile.write("<h3>Legend: %s <strike>pending</strike></h3>\n"%" ".join(map(lambda i: i[2]%(i[0].split("_")[0]), conv[:-2])))
@@ -130,3 +134,8 @@ for i in conv:
outfile.write("</p></blockquote>\n")
outfile.write("<hr><a name=all><h2><a href=#all>All commands together in one big list</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(allcmd))
+
+outfile.write("""
+<p>See the <a href=roadmap.html>Roadmap page</a> for more information.</p>
+
+<!-- #include "footer.html" -->""")