src/eric7/DocumentationTools/IndexGenerator.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/DocumentationTools/IndexGenerator.py
--- a/src/eric7/DocumentationTools/IndexGenerator.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/DocumentationTools/IndexGenerator.py	Sun Dec 18 19:33:46 2022 +0100
@@ -11,7 +11,7 @@
 import os
 import sys
 
-from eric7.Utilities import joinext
+from eric7.SystemUtilities import FileSystemUtilities
 
 from . import TemplatesListsStyleCSS
 
@@ -96,7 +96,7 @@
             f = os.path.join(self.outputDir, "index-{0}".format(packagename))
             title = packagename
 
-        filename = joinext(f, ".html")
+        filename = FileSystemUtilities.joinext(f, ".html")
 
         subpackages = ""
         modules = ""
@@ -107,7 +107,7 @@
             names = sorted(subpacks.keys())
             lst = []
             for name in names:
-                link = joinext("index-{0}".format(name), ".html")
+                link = FileSystemUtilities.joinext("index-{0}".format(name), ".html")
                 lst.append(
                     TemplatesListsStyleCSS.indexListEntryTemplate.format(
                         **{
@@ -129,7 +129,7 @@
             names = sorted(mods.keys())
             lst = []
             for name in names:
-                link = joinext(name, ".html")
+                link = FileSystemUtilities.joinext(name, ".html")
                 nam = name.split(".")[-1]
                 if nam == "__init__":
                     nam = name.split(".")[-2]

eric ide

mercurial