diff options
| author | Rob Landley <rob@landley.net> | 2012-12-01 18:27:37 -0600 | 
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2012-12-01 18:27:37 -0600 | 
| commit | e0cc81ef759b22e79c516bf5dbc6207c45447e4f (patch) | |
| tree | f07e529e9d3f908a5a52e231a039a0fa41f27dea | |
| parent | 4ddc73b07f321ffd70604b9cede1a03b97ae4bd6 (diff) | |
| download | toybox-e0cc81ef759b22e79c516bf5dbc6207c45447e4f.tar.gz | |
Generate status page with new pubs.opengroup.org urls.
| -rwxr-xr-x | scripts/mkstatus.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py index 2ec2152c..6c24d1a1 100755 --- a/scripts/mkstatus.py +++ b/scripts/mkstatus.py @@ -23,13 +23,13 @@ pending=[]  done=[]  outfile=open("www/status.gen", "w") -outfile.write("<h2>All commands</h2><blockquote><p>\n") +outfile.write("<a name=all><h2><a href=#all>All commands</a></h2><blockquote><p>\n")  blah=list(reverse)  blah.sort()  for i in blah:    out=i -  if "posix" in reverse[i]: out='[<a href="http://opengroup.org/onlinepubs/9699919799/utilities/%s.html">%s</a>]' % (i,out) +  if "posix" in reverse[i]: out='[<a href="http://pubs.opengroup.org/onlinepubs/9699919799/utilities/%s.html">%s</a>]' % (i,out)    elif "lsb" in reverse[i]: out='<<a href="http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/%s.html">%s</a>>' % (i,out)    elif "development" in reverse[i]: out='(<a href="http://linux.die.net/man/1/%s">%s</a>)' % (i,out)    elif "request" in reverse[i]: out='<a href="http://linux.die.net/man/1/%s">%s</a>' % (i,out) @@ -46,5 +46,5 @@ for i in blah:  outfile.write("</p></blockquote>\n") -outfile.write("<h2>TODO</h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(pending)) -outfile.write("<h2>Done</h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(done)) +outfile.write("<a name=todo><h2><a href=#todo>TODO</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(pending)) +outfile.write("<a name=done><h2><a href=#done>Done</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(done)) | 
