hgbook

diff web/genindex.py @ 820:ed8eb63f56bd

Minor changes to Ch.0.
author Giulio@puck
date Sat Aug 15 20:48:06 2009 +0200 (2009-08-15)
parents 9e8e5292acaa
children
line diff
     1.1 --- a/web/genindex.py	Fri Mar 27 00:41:15 2009 -0700
     1.2 +++ b/web/genindex.py	Sat Aug 15 20:48:06 2009 +0200
     1.3 @@ -6,7 +6,8 @@
     1.4  filename_re = re.compile(r'<\?dbhtml filename="([^"]+)"\?>')
     1.5  title_re = re.compile(r'<title>(.*)</title>')
     1.6  
     1.7 -chapters = glob.glob('../en/ch*.xml') + glob.glob('../en/app*.xml')
     1.8 +chapters = (sorted(glob.glob('../en/ch*.xml')) +
     1.9 +            sorted(glob.glob('../en/app*.xml')))
    1.10  
    1.11  fp = open('index-read.html.in', 'w')
    1.12