tempoarily removed fuse_search as not setup yet
This commit is contained in:
1 parent
5fb1d5eb85
commit
8163f7e5d6
1 file changed
+17
-17
+17
-17
@@ -46,7 +46,7 @@ autodoc_mock_imports = [
|
||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||
|
||||
extensions = [
|
||||
'fuse_search',
|
||||
# 'fuse_search',
|
||||
'sphinx.ext.intersphinx',
|
||||
'myst_parser',
|
||||
'sphinx_immaterial',
|
||||
@@ -73,28 +73,28 @@ myst_heading_anchor = 3
|
||||
|
||||
# -- Options for Fuzzy Search ------------------------------------------------
|
||||
# Fuse.js configuration
|
||||
fuse_js_options = {
|
||||
'includeScore': True,
|
||||
'includeMatches': True,
|
||||
'threshold': 0.3, # More fuzzy (0.0 = exact, 1.0 = match everything)
|
||||
'distance': 100,
|
||||
'minMatchCharLength': 2,
|
||||
'keys': [
|
||||
{'name': 'title', 'weight': 0.8},
|
||||
{'name': 'content', 'weight': 0.5},
|
||||
{'name': 'tags', 'weight': 0.3},
|
||||
]
|
||||
}
|
||||
# fuse_js_options = {
|
||||
# 'includeScore': True,
|
||||
# 'includeMatches': True,
|
||||
# 'threshold': 0.3, # More fuzzy (0.0 = exact, 1.0 = match everything)
|
||||
# 'distance': 100,
|
||||
# 'minMatchCharLength': 2,
|
||||
# 'keys': [
|
||||
# {'name': 'title', 'weight': 0.8},
|
||||
# {'name': 'content', 'weight': 0.5},
|
||||
# {'name': 'tags', 'weight': 0.3},
|
||||
# ]
|
||||
# }
|
||||
|
||||
#Static Files
|
||||
html_static_path = ['_static']
|
||||
html_css_files = [
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css',
|
||||
'css/fuse-search.css',
|
||||
]
|
||||
html_js_files = [
|
||||
'js/fuse-search.js',
|
||||
# 'css/fuse-search.css',
|
||||
]
|
||||
# html_js_files = [
|
||||
# 'js/fuse-search.js',
|
||||
# ]
|
||||
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user