Anonymous avatar Anonymous committed e04e162

Remove hard-coded "documentation" from HTML help output.

Comments (0)

Files changed (2)

 
 * sphinx.htmlwriter: Correctly write the TOC file for any structure of the
   master document.  Also encode non-ASCII characters as entities in TOC
-  and index file.
+  and index file.  Remove two remaining instances of hard-coded
+  "documentation".
 
 * Lots of little fixes to the LaTeX output and style.
 

sphinx/htmlhelp.py

 Full-text search=Yes
 Index file=%(outname)s.hhk
 Language=0x409
-Title=%(project)s %(version)s Documentation
+Title=%(title)s
 
 [WINDOWS]
-%(outname)s="%(project)s %(version)s Documentation","%(outname)s.hhc","%(outname)s.hhk",\
+%(outname)s="%(title)s","%(outname)s.hhc","%(outname)s.hhk",\
 "index.html","index.html",,,,,0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0
 
 [FILES]
     f = open(path.join(outdir, outname+'.hhp'), 'w')
     try:
         f.write(project_template % {'outname': outname,
+                                    'title': builder.config.html_title,
                                     'version': builder.config.version,
                                     'project': builder.config.project})
         if not outdir.endswith(os.sep):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.