Skip to content

Commit 4624fdc

Browse files
committed
add library/exceptions and library/exceptions to pages with boosted scores
1 parent 2ab5a16 commit 4624fdc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Doc/tools/static/search_scorer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ var Scorer = {
33
let [docname, title, anchor, descr, score, filename] = result;
44

55
// boost the score of built-in functions and types
6-
const builtinPages = ["library/stdtypes", "library/functions"];
6+
const builtinPages = [
7+
"library/stdtypes",
8+
"library/functions",
9+
"library/exceptions",
10+
"library/constants",
11+
];
712
if (builtinPages.includes(docname)) {
813
score += 7;
914
}

0 commit comments

Comments
 (0)