mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-02 23:27:22 +02:00
fix search and add some additional options for better usability
This commit is contained in:
parent
fc701bfd6a
commit
e02086f467
@ -62,6 +62,17 @@ const config = {
|
||||
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
|
||||
({
|
||||
hashed: true,
|
||||
docsDir: "docs", // only index the latest docs
|
||||
language: ["en"],
|
||||
indexDocs: true,
|
||||
indexBlog: false,
|
||||
indexPages: false,
|
||||
docsRouteBasePath: "/", // fix the default /docs path
|
||||
searchResultLimits: 10,
|
||||
searchBarShortcut: true,
|
||||
removeDefaultStemmer: true, // allow for partial word matching
|
||||
searchBarShortcutHint: true,
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
}),
|
||||
]
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user