There was an error while loading. Please reload this page.
1 parent 2ab5a16 commit 4624fdcCopy full SHA for 4624fdc
1 file changed
Doc/tools/static/search_scorer.js
@@ -3,7 +3,12 @@ var Scorer = {
3
let [docname, title, anchor, descr, score, filename] = result;
4
5
// boost the score of built-in functions and types
6
- const builtinPages = ["library/stdtypes", "library/functions"];
+ const builtinPages = [
7
+ "library/stdtypes",
8
+ "library/functions",
9
+ "library/exceptions",
10
+ "library/constants",
11
+ ];
12
if (builtinPages.includes(docname)) {
13
score += 7;
14
}
0 commit comments