diff options
| author | georg.brandl <devnull@localhost> | 2008-05-31 22:52:42 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2008-05-31 22:52:42 +0000 |
| commit | a9e74473ab26776bd596360dcf373d96cddb7f16 (patch) | |
| tree | e6cc375f8117cc47e29fbac155db4868dca6c5e6 /sphinx/htmlhelp.py | |
| parent | b175e28e8942c0fd2fd37156f953f45761dcfe87 (diff) | |
| download | sphinx-a9e74473ab26776bd596360dcf373d96cddb7f16.tar.gz | |
More logical "next"/"previous" links.
Diffstat (limited to 'sphinx/htmlhelp.py')
| -rw-r--r-- | sphinx/htmlhelp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/htmlhelp.py b/sphinx/htmlhelp.py index 957821c1..a3ace5dd 100644 --- a/sphinx/htmlhelp.py +++ b/sphinx/htmlhelp.py @@ -184,6 +184,7 @@ def build_hhx(builder, outdir, outname): f.close() builder.info('writing index file...') + index = builder.env.create_index(builder) f = open(path.join(outdir, outname+'.hhk'), 'w') try: f.write('<UL>\n') @@ -199,7 +200,7 @@ def build_hhx(builder, outdir, outname): for subitem in subitems: write_index(subitem[0], subitem[1], []) f.write('</UL>') - for (key, group) in builder.env.index: + for (key, group) in index: for title, (refs, subitems) in group: write_index(title, refs, subitems) f.write('</UL>\n') |
