summaryrefslogtreecommitdiff
path: root/sphinx/htmlhelp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-04 07:07:48 +0000
committerGeorg Brandl <georg@python.org>2008-05-04 07:07:48 +0000
commitc00189b04a59dd85619c1d87f2ad9653e2fab6e2 (patch)
tree827dfa1240595fa0bee2644aa256be7d16185cda /sphinx/htmlhelp.py
parent498baebf5aa18f72edbc9ec4d62b389a002bfd67 (diff)
downloadsphinx-git-c00189b04a59dd85619c1d87f2ad9653e2fab6e2.tar.gz
Remove hard-coded "documentation" from HTML help output.
Diffstat (limited to 'sphinx/htmlhelp.py')
-rw-r--r--sphinx/htmlhelp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/htmlhelp.py b/sphinx/htmlhelp.py
index 05bc851e1..edd05d037 100644
--- a/sphinx/htmlhelp.py
+++ b/sphinx/htmlhelp.py
@@ -63,10 +63,10 @@ Full text search stop list file=%(outname)s.stp
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]
@@ -129,6 +129,7 @@ def build_hhx(builder, outdir, outname):
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):