Fix usage of builder.domain_indices in the HTML help builder.

This commit is contained in:
Georg Brandl
2010-05-22 12:56:29 +02:00
parent ec204b3101
commit f6ace6d119

View File

@@ -217,9 +217,9 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
# special books
f.write('<LI> ' + object_sitemap % (self.config.html_short_title,
'index.html'))
for index in self.domain_indices:
f.write('<LI> ' + object_sitemap % (index[2],
'%s-%s.html' % index[0:2]))
for indexname, indexcls, content, collapse in self.domain_indices:
f.write('<LI> ' + object_sitemap % (indexcls.localname,
'%s.html' % indexname))
# the TOC
tocdoc = self.env.get_and_resolve_doctree(
self.config.master_doc, self, prune_toctrees=False)