[Checkins] SVN: z3c.recipe.sphinxdoc/trunk/src/z3c/recipe/sphinxdoc/__init__.py layout should always be in the templates directory

Jean-Francois Roche jfroche at jfroche.be
Tue Oct 13 10:36:20 EDT 2009


Log message for revision 105042:
  layout should always be in the templates directory

Changed:
  U   z3c.recipe.sphinxdoc/trunk/src/z3c/recipe/sphinxdoc/__init__.py

-=-
Modified: z3c.recipe.sphinxdoc/trunk/src/z3c/recipe/sphinxdoc/__init__.py
===================================================================
--- z3c.recipe.sphinxdoc/trunk/src/z3c/recipe/sphinxdoc/__init__.py	2009-10-13 14:31:34 UTC (rev 105041)
+++ z3c.recipe.sphinxdoc/trunk/src/z3c/recipe/sphinxdoc/__init__.py	2009-10-13 14:36:19 UTC (rev 105042)
@@ -107,8 +107,8 @@
                 installed.append(join(templatesDir, 'layout.html'))
             elif self.options['layout.html']:
                 f = self.openfile(self.options['layout.html'])
-                open(join(staticDir,'layout.html'), 'w').write(f.read())
-                installed.append(join(staticDir, 'layout.html'))
+                open(join(templatesDir,'layout.html'), 'w').write(f.read())
+                installed.append(join(templatesDir, 'layout.html'))
 
             metadata = dict(message_from_string('\n'.join(
                 doc._get_metadata('PKG-INFO'))).items())



More information about the checkins mailing list