DocumentationTools/IndexGenerator.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2989
7efa8b8b6903
child 3060
5883ce99ee12
diff -r 9986ec0e559a -r 10516539f238 DocumentationTools/IndexGenerator.py
--- a/DocumentationTools/IndexGenerator.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/DocumentationTools/IndexGenerator.py	Fri Oct 18 23:00:41 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.
 """
 
 from __future__ import unicode_literals    # __IGNORE_WARNING__
@@ -17,7 +18,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):
         """
@@ -49,11 +51,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