Skip to content

Commit

Permalink
Use both title and subtitle name in search results (#10824)
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin authored Sep 21, 2022
1 parent 9b65adc commit ac8cb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/themes/basic/static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const Search = {
let score = Math.round(100 * queryLower.length / title.length)
results.push([
docNames[file],
title,
`${titles[file]} > ${title}`,
id !== null ? "#" + id : "",
null,
score,
Expand Down

0 comments on commit ac8cb6b

Please sign in to comment.