@@ -62,6 +62,17 @@ const config = {
6262 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
6363 ({
6464 hashed: true,
65+ docsDir: "docs", // only index the latest docs
66+ language: ["en"],
67+ indexDocs: true,
68+ indexBlog: false,
69+ indexPages: false,
70+ docsRouteBasePath: "/", // fix the default /docs path
71+ searchResultLimits: 10,
72+ searchBarShortcut: true,
73+ removeDefaultStemmer: true, // allow for partial word matching
74+ searchBarShortcutHint: true,
75+ highlightSearchTermsOnTargetPage: true,
6576 }),
6677 ]
6778 ],