hgbook
changeset 687:0ffae4ee4c47
Fix indexing.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun Apr 26 23:22:04 2009 -0700 (2009-04-26) |
parents | e9154b3daa94 |
children | 75ccc1e89aef 2c266a253b44 |
files | en/appA-svn.xml web/genindex.py |
line diff
1.1 --- a/en/appA-svn.xml Sun Apr 26 23:16:56 2009 -0700 1.2 +++ b/en/appA-svn.xml Sun Apr 26 23:22:04 2009 -0700 1.3 @@ -1,7 +1,7 @@ 1.4 <!-- vim: set filetype=docbkxml shiftwidth=2 autoindent expandtab tw=77 : --> 1.5 1.6 <appendix id="svn"> 1.7 - <?dbhtml filename="mercurial-for-subversion-users.html"?> 1.8 + <?dbhtml filename="migrating-to-mercurial.html"?> 1.9 <title>Migrating to Mercurial</title> 1.10 1.11 <para>A common way to test the waters with a new revision control
2.1 --- a/web/genindex.py Sun Apr 26 23:16:56 2009 -0700 2.2 +++ b/web/genindex.py Sun Apr 26 23:22:04 2009 -0700 2.3 @@ -6,7 +6,8 @@ 2.4 filename_re = re.compile(r'<\?dbhtml filename="([^"]+)"\?>') 2.5 title_re = re.compile(r'<title>(.*)</title>') 2.6 2.7 -chapters = glob.glob('../en/ch*.xml') + glob.glob('../en/app*.xml') 2.8 +chapters = (sorted(glob.glob('../en/ch*.xml')) + 2.9 + sorted(glob.glob('../en/app*.xml'))) 2.10 2.11 fp = open('index-read.html.in', 'w') 2.12