---
permalink: core/assets/js/search_index.json
eleventyExcludeFromCollections: true
---
[
{%- if collections.all.size > 0 and libdocConfig.searchEnabled -%}
{%- if collections.myTags.size > 0 -%}
{%- for tag in collections.myTags -%}
{% assign tagName = tag[0] %}
{
"url": "{{ '/tags/' | url }}{{ tagName }}",
"title": "{{ libdocMessages.tag[libdocConfig.lang] }} {{ tagName }}",
"content": " {{ tagName }} "
}{% if forloop.last == false %},{% endif %}
{%- endfor -%},
{%- endif -%}
{% for item in collections.all %}
{
"url": "{{ item.url | url }}",
"title": "{{ item.data.title | default: item.data.eleventyNavigation.key | default: item.inputPath | escape }}",
"content": "{{ item.data.description | strip_newlines | strip_html | escape | sanitizeJSON }} {{ item.data.tags | join: ' ' }} {{ item.content | strip_newlines | strip_html | escape | sanitizeJSON }}"
}{% if forloop.last == false %},{% endif %}
{%- endfor -%}
{%- endif %}
]