[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    quality/apidox/src
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2012-04-03 11:44:04
Message-ID: 20120403114404.697C9AC89A () svn ! kde ! org
[Download RAW message or body]

SVN commit 1288069 by aseigo:

put entries in alphabetical order. again.


 M  +5 -4      qmlapigenerator.py  


--- trunk/quality/apidox/src/qmlapigenerator.py #1288068:1288069
@@ -253,15 +253,16 @@
 templateString = templateFile.read()
 templateFile.close()
 
-linksHtml = '<ul>\n'
-
+classes = list()
 for root, subFolders, files in os.walk(qmlPath):
 	for fileName in files:
 		if fileName.endswith('.qml'):
 			if (root.split('/')[-1] in ("test", "gallery", "touch", "private")): continue
-			className = fileName.replace(".qml", "")
+			classes.append(fileName.replace(".qml", ""))
+
+linksHtml = '<ul>\n'
+for className in sorted(classes):
 			linksHtml += '<li><a href="./' + className + '.html">' + className + '</a></li>\n'
-
 linksHtml += '</ul>\n'
 
 for root, subFolders, files in os.walk(qmlPath):
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic