Commits

Bryan O'Sullivan committed 0ffae4e

Fix indexing.

  • Participants
  • Parent commits e9154b3

Comments (0)

Files changed (2)

File en/appA-svn.xml

 <!-- vim: set filetype=docbkxml shiftwidth=2 autoindent expandtab tw=77 : -->
 
 <appendix id="svn">
-  <?dbhtml filename="mercurial-for-subversion-users.html"?>
+  <?dbhtml filename="migrating-to-mercurial.html"?>
 <title>Migrating to Mercurial</title>
 
   <para>A common way to test the waters with a new revision control

File web/genindex.py

 filename_re = re.compile(r'<\?dbhtml filename="([^"]+)"\?>')
 title_re = re.compile(r'<title>(.*)</title>')
 
-chapters = glob.glob('../en/ch*.xml') + glob.glob('../en/app*.xml')
+chapters = (sorted(glob.glob('../en/ch*.xml')) +
+            sorted(glob.glob('../en/app*.xml')))
 
 fp = open('index-read.html.in', 'w')