DocumentationTools/QtHelpGenerator.py

changeset 1519
16c718397dd7
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
--- a/DocumentationTools/QtHelpGenerator.py	Fri Dec 30 18:33:18 2011 +0100
+++ b/DocumentationTools/QtHelpGenerator.py	Fri Dec 30 18:51:48 2011 +0100
@@ -216,11 +216,11 @@
         filesList = sorted([e for e in os.listdir(self.htmlDir) if e.endswith('.html')])
         files = "\n".join(["      <file>{0}</file>".format(f) for f in filesList])
         filterAttribs = "\n".join(["    <filterAttribute>{0}</filterAttribute>".format(a) \
-                                  for a in self.filterAttributes])
+                                  for a in sorted(self.filterAttributes)])
         keywords = "\n".join(
             ['      <keyword name="{0}" id="{1}" ref="{2}" />'.format(
              html_encode(kw[0]), html_encode(kw[0]), html_encode(kw[1])) \
-             for kw in self.keywords])
+             for kw in sorted(self.keywords)])
         
         helpAttribs = {
             "namespace": self.namespace,

eric ide

mercurial