fix: use doc-only mod with local-search

This commit is contained in:
delong.wang
2023-11-23 11:30:25 +08:00
parent 611b8b3940
commit e7ae886889
5 changed files with 28 additions and 102 deletions

View File

@@ -39,6 +39,7 @@ const config = {
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
// @ts-ignore
({
docsRouteBasePath: "/",
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,