[Python-checkins] r65138 - in doctools/branches/0.4.x: CHANGES sphinx/builder.py

georg.brandl python-checkins at python.org
Sat Jul 19 15:42:35 CEST 2008


Author: georg.brandl
Date: Sat Jul 19 15:42:35 2008
New Revision: 65138

Log:
#3416: fix missing parameter.


Modified:
   doctools/branches/0.4.x/CHANGES
   doctools/branches/0.4.x/sphinx/builder.py

Modified: doctools/branches/0.4.x/CHANGES
==============================================================================
--- doctools/branches/0.4.x/CHANGES	(original)
+++ doctools/branches/0.4.x/CHANGES	Sat Jul 19 15:42:35 2008
@@ -1,6 +1,8 @@
 Release 0.4.2 (in development)
 ==============================
 
+* Add a missing parameter to PickleHTMLBuilder.handle_page().
+
 * Put inheritance info always on its own line.
 
 * Don't automatically enclose code with whitespace in it in quotes;

Modified: doctools/branches/0.4.x/sphinx/builder.py
==============================================================================
--- doctools/branches/0.4.x/sphinx/builder.py	(original)
+++ doctools/branches/0.4.x/sphinx/builder.py	Sat Jul 19 15:42:35 2008
@@ -720,11 +720,12 @@
         return docname + SEP
 
     def handle_page(self, pagename, ctx, templatename='page.html',
-                    outfilename=None):
+                    outfilename=None, event_arg=None):
         ctx['current_page_name'] = pagename
         sidebarfile = self.config.html_sidebars.get(pagename)
         if sidebarfile:
             ctx['customsidebar'] = sidebarfile
+
         if not outfilename:
             outfilename = path.join(self.outdir, os_path(pagename) + self.out_suffix)
         ensuredir(path.dirname(outfilename))


More information about the Python-checkins mailing list