Index: htmlhelp.py =================================================================== --- htmlhelp.py (revision 67072) +++ htmlhelp.py (working copy) @@ -98,6 +98,13 @@ ''' +object_sitemap_seealso = '''\ + + + + +''' + # List of words the full text search facility shouldn't index. This # becomes file outname.stp. Note that this list must be pretty small! # Different versions of the MS docs claim the file has a maximum size of @@ -197,6 +204,10 @@ f.write(item.encode('ascii', 'xmlcharrefreplace')) for ref in refs[1:]: f.write(object_sitemap % ('[Link]', ref)) + else: + f.write('
  • ') + item = object_sitemap_seealso % (cgi.escape(title), cgi.escape(title)) + f.write(item.encode('ascii', 'xmlcharrefreplace')) if subitems: f.write('