diff options
author | Georg Brandl <georg@python.org> | 2008-05-31 22:52:42 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-31 22:52:42 +0000 |
commit | c7110a4199b626460ef4fb3307d679352fb61135 (patch) | |
tree | e6cc375f8117cc47e29fbac155db4868dca6c5e6 /sphinx/htmlhelp.py | |
parent | c8668ca498967a5ac6632bf1e6943f1c3ac018b8 (diff) | |
download | sphinx-git-c7110a4199b626460ef4fb3307d679352fb61135.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 957821c1c..a3ace5dd8 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') |