diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-30 12:57:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-27 13:43:31 (GMT) |
commit | 6bb0d2908b4ca7908a8e655a5abcf7615a5f4c77 (patch) | |
tree | 1153cbbc2ea585505b9b08f2756fa3d0cade6b2c /templates/html/htmljssearchindex.tpl | |
parent | cfac0824b1d201fac37772ac42662901efc88ba7 (diff) | |
download | Doxygen-6bb0d2908b4ca7908a8e655a5abcf7615a5f4c77.zip Doxygen-6bb0d2908b4ca7908a8e655a5abcf7615a5f4c77.tar.gz Doxygen-6bb0d2908b4ca7908a8e655a5abcf7615a5f4c77.tar.bz2 |
Added javascript search engine data to the template context
Diffstat (limited to 'templates/html/htmljssearchindex.tpl')
-rw-r--r-- | templates/html/htmljssearchindex.tpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/html/htmljssearchindex.tpl b/templates/html/htmljssearchindex.tpl new file mode 100644 index 0000000..a16fa4f --- /dev/null +++ b/templates/html/htmljssearchindex.tpl @@ -0,0 +1,15 @@ +{# input: si symbolIndex #} +var searchData = +[ +{% for group in si.symbolGroups %}['{{ group.id }}',['{{ group.name }}', +{% for sym in group.symbols %} +{% spaceless %} +['{{ sym.relPath }}{{ sym.fileName }}{{ config.HTML_FILE_EXTENSION }}{% if sym.anchor %}#{{ sym.anchor }}{% endif %}', +{% if not config.EXT_LINKS_IN_WINDOW %}1{% else %}0{% endif %}, +'{{ sym.scope|nowrap }}'] +{% endspaceless %} +{% if not forloop.last %},{% endif %} +{% endfor %} +]]{% if not forloop.last %},{% endif %} +{% endfor %} +]; |