From 161a83bd16952c5d8acf2bba4d7deaee5a220663 Mon Sep 17 00:00:00 2001 From: Maxime Castres Date: Tue, 30 Nov 2021 16:47:30 +0100 Subject: [PATCH] Update algolia config --- .algolia/docsearch.config.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.algolia/docsearch.config.json b/.algolia/docsearch.config.json index be31d3a585..6b018b2477 100644 --- a/.algolia/docsearch.config.json +++ b/.algolia/docsearch.config.json @@ -5,7 +5,7 @@ ], "selectors": { "lvl0": { - "selector": "//*[contains(@class, 'sidebar-heading open') or contains(@class, 'sidebar-heading clickable open')]/span/text()", + "selector": "(//*[contains(@class, 'sidebar-heading open')])[1]", "type": "xpath", "global": true }, @@ -19,13 +19,8 @@ "type": "xpath", "global": true }, - "lvl3": { - "selector": "//h2/text()", - "type": "xpath", - "global": true - }, "lvl4": { - "selector": "//h3/text()", + "selector": "//h2/text()", "type": "xpath", "global": true },