From dc8273cc0153e431ccb49f68691f84f79a0f6371 Mon Sep 17 00:00:00 2001 From: Shaun Brown <97027841+StrapiShaun@users.noreply.github.com> Date: Wed, 19 Oct 2022 14:03:14 +0200 Subject: [PATCH] Update Algolia config (#1175) * initial config update * add table indexing --- .algolia/docsearch.config.json | 52 ++++++++++++++++------------------ 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/.algolia/docsearch.config.json b/.algolia/docsearch.config.json index 6eb543d468..1c0f6dfb85 100644 --- a/.algolia/docsearch.config.json +++ b/.algolia/docsearch.config.json @@ -6,33 +6,31 @@ } ], "selectors": { - "default": { - "lvl0": { - "selector": "(//*[contains(@class, 'sidebar-heading open')])[1]", - "type": "xpath", - "global": true - }, - "lvl1": { - "selector": "//h1/text()", - "type": "xpath", - "global": true - }, - "lvl2": { - "selector": "/html/head/meta[@name='description']/@content", - "type": "xpath", - "global": true - }, - "lvl3": { - "selector": "//h2/text()", - "type": "xpath", - "global": true - }, - "text": ".content__default p, .content__default ul>li a, .content__default ul>li code", - "lang": { - "selector": "/html/@lang", - "type": "xpath", - "global": true - } + "lvl0": { + "selector": "(//*[contains(@class, 'sidebar-heading open')])[1]", + "type": "xpath", + "global": true + }, + "lvl1": { + "selector": "//h1/text()", + "type": "xpath", + "global": true + }, + "lvl2": { + "selector": "/html/head/meta[@name='description']/@content", + "type": "xpath", + "global": true + }, + "lvl4": { + "selector": "//h2/text()", + "type": "xpath", + "global": true + }, + "text": ".content__default p, .content__default ul>li a, .content__default ul>li code, .content__default table > tr, th, td, p, code", + "lang": { + "selector": "/html/@lang", + "type": "xpath", + "global": true } }, "strip_chars": " .,;:#",