changeset 815:0ffae4ee4c47

Fix indexing.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 26 Apr 2009 23:22:04 -0700
parents e9154b3daa94
children 2c266a253b44 75ccc1e89aef
files en/appA-svn.xml web/genindex.py
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/en/appA-svn.xml	Sun Apr 26 23:16:56 2009 -0700
+++ b/en/appA-svn.xml	Sun Apr 26 23:22:04 2009 -0700
@@ -1,7 +1,7 @@
 <!-- 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
--- a/web/genindex.py	Sun Apr 26 23:16:56 2009 -0700
+++ b/web/genindex.py	Sun Apr 26 23:22:04 2009 -0700
@@ -6,7 +6,8 @@
 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')