git.iko.soy/typeable/oauth2-proxy
on master help sign in
fix search and add some additional options for better usability
commite02086f4676b277b7588d47bd006c6f00e8afeb0 authortuunit <jan@larwig.com> dateThu 9 May 2024, 16:02 (2 years ago) parentfc701bf
1 file changed+11
docs/docusaurus.config.js+11
docs/docusaurus.config.js+11
@@ -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 ],