mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove hard-coded "documentation" from HTML help output.
This commit is contained in:
parent
498baebf5a
commit
c00189b04a
3
CHANGES
3
CHANGES
@ -26,7 +26,8 @@ Bugs fixed
|
|||||||
|
|
||||||
* sphinx.htmlwriter: Correctly write the TOC file for any structure of the
|
* sphinx.htmlwriter: Correctly write the TOC file for any structure of the
|
||||||
master document. Also encode non-ASCII characters as entities in TOC
|
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.
|
* Lots of little fixes to the LaTeX output and style.
|
||||||
|
|
||||||
|
@ -63,10 +63,10 @@ Full text search stop list file=%(outname)s.stp
|
|||||||
Full-text search=Yes
|
Full-text search=Yes
|
||||||
Index file=%(outname)s.hhk
|
Index file=%(outname)s.hhk
|
||||||
Language=0x409
|
Language=0x409
|
||||||
Title=%(project)s %(version)s Documentation
|
Title=%(title)s
|
||||||
|
|
||||||
[WINDOWS]
|
[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
|
"index.html","index.html",,,,,0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0
|
||||||
|
|
||||||
[FILES]
|
[FILES]
|
||||||
@ -129,6 +129,7 @@ def build_hhx(builder, outdir, outname):
|
|||||||
f = open(path.join(outdir, outname+'.hhp'), 'w')
|
f = open(path.join(outdir, outname+'.hhp'), 'w')
|
||||||
try:
|
try:
|
||||||
f.write(project_template % {'outname': outname,
|
f.write(project_template % {'outname': outname,
|
||||||
|
'title': builder.config.html_title,
|
||||||
'version': builder.config.version,
|
'version': builder.config.version,
|
||||||
'project': builder.config.project})
|
'project': builder.config.project})
|
||||||
if not outdir.endswith(os.sep):
|
if not outdir.endswith(os.sep):
|
||||||
|
Loading…
Reference in New Issue
Block a user