Skip to content

Commit 0bdf135

Browse files
committed
move search scoring stuff above config for sphinx extensions in conf.py
1 parent 4624fdc commit 0bdf135

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Doc/conf.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,11 @@
553553
r'https://unix.org/version2/whatsnew/lp64_wp.html',
554554
]
555555

556+
# Options to adjust search results sorting
557+
# ----------------------------------------
558+
559+
html_search_scorer = "tools/static/search_scorer.js"
560+
556561

557562
# Options for sphinx.ext.extlinks
558563
# -------------------------------
@@ -606,8 +611,3 @@
606611
'<meta property="og:image:width" content="200">',
607612
'<meta property="og:image:height" content="200">',
608613
)
609-
610-
# Options to adjust search results sorting
611-
# ----------------------------------------
612-
613-
html_search_scorer = "tools/static/search_scorer.js"

0 commit comments

Comments
 (0)