[Checkins] SVN: grok/trunk/doc/grok2html.py Bugfix: this corrects my earlier fix for making grok2html properly

Brandon Rhodes brandon at rhodesmill.org
Sun Sep 23 19:19:12 EDT 2007


Log message for revision 79871:
  Bugfix: this corrects my earlier fix for making grok2html properly
  digest Unicode in tutorials; the version I checked in failed to assign
  the Unicode object to a variable!  Also, grok2html now includes my
  transient-object tutorial (but I have made no link to it from other
  pages, pending review of the document by other community members).
  

Changed:
  U   grok/trunk/doc/grok2html.py

-=-
Modified: grok/trunk/doc/grok2html.py
===================================================================
--- grok/trunk/doc/grok2html.py	2007-09-23 22:16:58 UTC (rev 79870)
+++ grok/trunk/doc/grok2html.py	2007-09-23 23:19:11 UTC (rev 79871)
@@ -35,7 +35,7 @@
                         self.content,
                         writer=writer,
                         settings_overrides=settings_overrides,)
-        codecs.decode(html, 'utf_8')
+        html = codecs.decode(html, 'utf_8')
         return html
 
 class RestFile(object):
@@ -182,6 +182,9 @@
     rest_files.append(RestFile('permissions', 
                               os.path.join(source_dir, 'minitutorials', 'permissions.txt'),
                               os.path.join(www_dir, 'minitutorials', 'permissions.html')))
+    rest_files.append(RestFile('transient-objects', 
+                              os.path.join(source_dir, 'minitutorials', 'transient-objects.txt'),
+                              os.path.join(www_dir, 'minitutorials', 'transient-objects.html')))
     rest_files.append(RestFile('zc.buildout', 
                   'http://svn.zope.org/*checkout*/zc.buildout/trunk/doc/tutorial.txt',
                   os.path.join(www_dir, 'minitutorials', 'buildout.html')))



More information about the Checkins mailing list