diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-09-27 15:40:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-05-28 14:20:01 (GMT) |
commit | 7b887cfbffd73ea12fe0171c149f49c4540aac40 (patch) | |
tree | 648d0f1b6525aeac6624beef7f0714237e4b5a42 /templates | |
parent | 3e03e42e2b10bf2ccba5ab35e52c665ac35cfa15 (diff) | |
download | Doxygen-7b887cfbffd73ea12fe0171c149f49c4540aac40.zip Doxygen-7b887cfbffd73ea12fe0171c149f49c4540aac40.tar.gz Doxygen-7b887cfbffd73ea12fe0171c149f49c4540aac40.tar.bz2 |
Added support for encoding tag to the template engine used for HTML help indices
Diffstat (limited to 'templates')
-rw-r--r-- | templates/html/htmlhelpindexhhp.tpl | 33 | ||||
-rw-r--r-- | templates/html/htmllayout.tpl | 7 |
2 files changed, 40 insertions, 0 deletions
diff --git a/templates/html/htmlhelpindexhhp.tpl b/templates/html/htmlhelpindexhhp.tpl new file mode 100644 index 0000000..5451509 --- /dev/null +++ b/templates/html/htmlhelpindexhhp.tpl @@ -0,0 +1,33 @@ +[OPTIONS] +Compatibility=1.1 +Full-text search=Yes +Contents file=index.hhc +Default Window=main +Default topic=index{{ config.HTML_FILE_EXTENSION }} +Index file=index.hhk +Language={{ tr.langString }} +{% if config.BINARY_TOC %}Binary TOC=YES{% endif %} +{% if config.GENERATE_CHI %}Create CHI file=YES{% endif %} +Title={{ config.PROJECT_NAME }} + +[WINDOWS] +main="My Project","index.hhc","index.hhk","index{{ config.HTML_FILE_EXTENSION }}","index{{ config.HTML_FILE_EXTENSION }}",,,,,0x23520,,0x{% if config.BINARY_TOC %}7{% else %}1{% endif %}0387e,,,,,,,,0 + +[FILES] +{% recursetree index.nav %} +{% if not node.isReference %}{{ node.file }}{{ config.HTML_FILE_EXTENSION }}{% endif %} +{{ children }} +{% endrecursetree %} +tab_a.png +tab_b.png +tab_h.png +tab_s.png +nav_h.png +nav_f.png +bc_s.png +doxygen.png +closed.png +open.png +bdwn.png +sync_on.png +sync_off.png diff --git a/templates/html/htmllayout.tpl b/templates/html/htmllayout.tpl index e609214..9834f67 100644 --- a/templates/html/htmllayout.tpl +++ b/templates/html/htmllayout.tpl @@ -266,6 +266,13 @@ {% endfor %} {% endif %} +{# write html help index #} +{% if config.GENERATE_HTMLHELP %} + {% encoding config.CHM_INDEX_ENCODING|default:'CP1250' %} + {% create 'index.hhp' from 'htmlhelpindexhhp.tpl' %} + {% endencoding %} +{% endif %} + {# write the navigation tree data #} {% if config.GENERATE_TREEVIEW %} {% create 'navtreedata.js' from 'htmljsnavtree.tpl' %} |