Skip to content

Commit 9bb57a0

Browse files
committed
Implement search scorer to deprioritise retro notes
1 parent 4eb6e31 commit 9bb57a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# For the full list of built-in configuration values, see the documentation:
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5+
import os.path
56

67
# -- Project information -----------------------------------------------------
78
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
@@ -78,6 +79,8 @@
7879
html_last_updated_fmt = ""
7980
html_show_copyright = False
8081

82+
html_search_scorer = os.path.join(os.path.dirname(__file__), "searchscorer.js")
83+
8184
spelling_lang = "en_GB"
8285
spelling_filters = ["enchant.tokenize.MentionFilter"]
8386
spelling_warning = True

0 commit comments

Comments
 (0)