DocumentationTools/IndexGenerator.py

changeset 2989
7efa8b8b6903
parent 2401
4f428de32b69
child 3033
58fe260e7469
child 3057
10516539f238
diff -r f53c03574697 -r 7efa8b8b6903 DocumentationTools/IndexGenerator.py
--- a/DocumentationTools/IndexGenerator.py	Sun Oct 06 19:00:04 2013 +0200
+++ b/DocumentationTools/IndexGenerator.py	Sun Oct 06 19:14:26 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing the index generator for the builtin documentation generator.
+Module implementing the index generator for the builtin documentation
+generator.
 """
 
 import sys
@@ -15,7 +16,8 @@
 
 class IndexGenerator(object):
     """
-    Class implementing the index generator for the builtin documentation generator.
+    Class implementing the index generator for the builtin documentation
+    generator.
     """
     def __init__(self, outputDir, colors, stylesheet=None):
         """
@@ -47,11 +49,14 @@
                 TemplatesListsStyleCSS.indexListPackagesTemplate
             self.indexListModulesTemplate = \
                 TemplatesListsStyleCSS.indexListModulesTemplate
-            self.indexListEntryTemplate = TemplatesListsStyleCSS.indexListEntryTemplate
+            self.indexListEntryTemplate = \
+                TemplatesListsStyleCSS.indexListEntryTemplate
         else:
             from . import TemplatesListsStyle
-            self.headerTemplate = TemplatesListsStyle.headerTemplate.format(**colors)
-            self.footerTemplate = TemplatesListsStyle.footerTemplate.format(**colors)
+            self.headerTemplate = \
+                TemplatesListsStyle.headerTemplate.format(**colors)
+            self.footerTemplate = \
+                TemplatesListsStyle.footerTemplate.format(**colors)
             self.indexBodyTemplate = \
                 TemplatesListsStyle.indexBodyTemplate.format(**colors)
             self.indexListPackagesTemplate = \

eric ide

mercurial