[z3-checkins] r5377 - z3/util/trunk

faassen at codespeak.net faassen at codespeak.net
Mon Jun 28 10:50:42 MEST 2004


Author: faassen
Date: Mon Jun 28 10:50:41 2004
New Revision: 5377

Added:
   z3/util/trunk/make_restpage.py
Log:
Check in script that doesn't do yet what it promises (no layout is
placed around the HTML generated), but is a start. This should allow
us to translate ReST pages into documents on the webiste.


Added: z3/util/trunk/make_restpage.py
==============================================================================
--- (empty file)
+++ z3/util/trunk/make_restpage.py	Mon Jun 28 10:50:41 2004
@@ -0,0 +1,12 @@
+import os
+import sys
+
+# turn a rst .txt page into html, putting layout around it
+# XXX putting layout it is not yet done. :)
+path = sys.argv[1]
+filename = os.path.basename(path)
+basefilename, ext = os.path.splitext(filename)
+
+os.system('rst2html.py --no-generator --no-source-link --no-datestamp %s > %s.html' % (path, basefilename))
+
+


More information about the z3-checkins mailing list