From e2667bd9b5abd689e3d10a659c5368f62f6cc1de Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Sat, 16 Sep 2023 14:57:17 -0400 Subject: [PATCH 1/2] Test more selective tab selector --- docsearch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsearch.json b/docsearch.json index cb3723c46a..c41f78b1c2 100644 --- a/docsearch.json +++ b/docsearch.json @@ -10,7 +10,7 @@ "lvl3": ".td-content h3", "lvl4": ".td-content h4", "lvl5": ".td-content h5, .td-content .tab-content .tab-pane .search-helper", - "text": ".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content table tbody tr" + "text": ".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content .tab-content .tab-pane, .td-content table tbody tr" }, "selectors_exclude": [".footer", "#edit-on-github"] } From ddca63f3945957fba63d9710741ea2525ec36370 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Sat, 16 Sep 2023 15:07:35 -0400 Subject: [PATCH 2/2] DOCS-639: Disable tab indexing --- docsearch.json | 4 ++-- layouts/shortcodes/tabs.html | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docsearch.json b/docsearch.json index c41f78b1c2..a5c21057f4 100644 --- a/docsearch.json +++ b/docsearch.json @@ -9,8 +9,8 @@ "lvl2": ".td-content h2", "lvl3": ".td-content h3", "lvl4": ".td-content h4", - "lvl5": ".td-content h5, .td-content .tab-content .tab-pane .search-helper", - "text": ".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content .tab-content .tab-pane, .td-content table tbody tr" + "lvl5": ".td-content h5", + "text": ".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content table tbody tr" }, "selectors_exclude": [".footer", "#edit-on-github"] } diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index 0d40dbe26d..e2505add5c 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -20,7 +20,6 @@
{{ else }}
- {{- trim .name " " -}} {{ end }} {{- with .content -}} {{- . -}}