8000 Build: Exclude `.desc strong:first-child` from search excerpts · jquery/api.jquery.com@1ddac72 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ddac72

Browse files
committed
Build: Exclude .desc strong:first-child from search excerpts
Fix a long-standing bug that also affected Algolia previously, where excerpts of API pages all start with "Description:". Ref jquery/infrastructure-puppet#33
1 parent d6755c3 commit 1ddac72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docsearch.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
".section-title",
4545
".icon-link.toc-link",
4646
"[class^=toclevel]",
47-
"#toctitle"
47+
"#toctitle",
48+
".desc strong:first-child"
4849
],
4950
"min_indexed_level": 2,
5051
"scrape_start_urls": false

0 commit comments

Comments
 (0)
0