Merge pull request #109 from Patman64/search_links

Fix links in search results.
This commit is contained in:
Rochet2
2014-08-16 08:47:11 +03:00

View File

@@ -1,17 +1,15 @@
var searchIndex = {};
//{%- for class in classes %}
{% for class in classes -%}
searchIndex["{{ class.name }}"] = {
"items": [
[0, "", "{{ class.name }}", "{{ class.short_description|replace('\n', ' ')|replace('\"', '"') }}"],
//{%- for method in class.methods %}
[3, "{{ method.name }}", "", "{{ method.short_description|replace('\n', ' ')|replace('\"', '"') }}"],
//{%- endfor %}
[0, "", "{{ class.name }}", "{{ class.short_description|replace('\n', ' ')|replace('\"', '"')|parse_links|replace('"', '\\"') }}"],
{%- for method in class.methods %}
[3, "{{ method.name }}", "", "{{ method.short_description|replace('\n', ' ')|replace('\"', '"')|parse_links|replace('"', '\\"') }}"],
{%- endfor %}
],
"paths": [
]
"paths": []
};
//{%- endfor %}
{%- endfor %}
initSearch(searchIndex);