@@ -62,6 +62,17 @@ const config = {
62 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
62 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
64 hashed: true,
64 hashed: true,
65+ docsDir: "docs", // only index the latest docs
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,