[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/apidox/src
From: Sebastian Kügler <sebas () kde ! org>
Date: 2012-03-29 22:00:36
Message-ID: 20120329220036.7FF97AC899 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1287595 by sebas:
fix incomplete classlist in sidebar
M +9 -3 qmlapigenerator.py
--- trunk/quality/apidox/src/qmlapigenerator.py #1287594:1287595
@@ -260,14 +260,20 @@
if fileName.endswith('.qml'):
if (root.split('/')[-1] in ("test", "gallery", "touch", "private")): continue
className = fileName.replace(".qml", "")
+ linksHtml += '<li><a href="./' + className + '.html">' + className + '</a></li>\n'
+
+linksHtml += '</ul>\n'
+
+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", "")
parser = File(className)
parser.fullPath = root + "/" + fileName
parser.createApi()
parser.writeHtml()
- linksHtml += '<li><a href="./' + className + '.html">' + className + '</a></li>\n'
-linksHtml += '</ul>\n'
-
outFile = open(outPath + '/index.html',"w")
varg = ('Class list',version,linksHtml,linksHtml)
outFile.write(templateString.format(*varg))
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic