summaryrefslogtreecommitdiffstats
path: root/sphinx/templates/htmlhelp/project.hhc
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/templates/htmlhelp/project.hhc')
-rw-r--r--sphinx/templates/htmlhelp/project.hhc31
1 files changed, 31 insertions, 0 deletions
diff --git a/sphinx/templates/htmlhelp/project.hhc b/sphinx/templates/htmlhelp/project.hhc
new file mode 100644
index 0000000..705cfeb
--- /dev/null
+++ b/sphinx/templates/htmlhelp/project.hhc
@@ -0,0 +1,31 @@
+{%- macro sitemap(name, docname) -%}
+<OBJECT type="text/sitemap">
+ <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&reg; 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, root_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>