-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #6229: htmlhelp builder generates invalid .hhc file
- Loading branch information
Showing
3 changed files
with
26 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
{%- macro sitemap(name, docname) -%} | ||
<OBJECT type="text/sitemap"> | ||
<PARAM name="Name" value="{{ name|e }}" /> | ||
<PARAM name="Local" value="{{ docname|e }}{{ suffix }}" /> | ||
<param name="Name" value="{{ name|e }}"> | ||
<param name="Local" value="{{ docname|e }}{{ suffix }}"> | ||
</OBJECT> | ||
{%- endmacro -%} | ||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | ||
<HTML> | ||
<HEAD> | ||
<META name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1" /> | ||
<!-- Sitemap 1.0 --> | ||
</HEAD> | ||
<BODY> | ||
<OBJECT type="text/site properties"> | ||
<PARAM name="Window Styles" value="0x801227" /> | ||
<PARAM name="ImageType" value="Folder" /> | ||
</OBJECT> | ||
<UL> | ||
<LI> | ||
{{ sitemap(short_title, master_doc)|indent(8) }} | ||
</LI> | ||
{%- for indexname, indexcls, content, collapse in domain_indices %} | ||
<LI> | ||
{{ sitemap(indexcls.localname, indexname)|indent(8) }} | ||
</LI> | ||
{%- endfor %} | ||
{{ body|indent(6) }} | ||
</UL> | ||
</BODY> | ||
</HTML> | ||
<HEAD> | ||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1"> | ||
<!-- Sitemap 1.0 --> | ||
</HEAD><BODY> | ||
<OBJECT type="text/site properties"> | ||
<param name="Window Styles" value="0x801227"> | ||
<param name="ImageType" value="Folder"> | ||
</OBJECT> | ||
<UL> | ||
<LI> {{ sitemap(short_title, master_doc) }} | ||
{%- for indexname, indexcls, content, collapse in domain_indices %} | ||
<LI> {{ sitemap(indexcls.localname, indexname) }} | ||
{%- endfor %} | ||
{{ body }} | ||
</UL></BODY></HTML> |