main
caishi 3 months ago
parent cd7d95c8e9
commit fa6bbf212c

@ -163,22 +163,22 @@ module.exports = {
], ],
themes: [ themes: [
// ... Your other themes. // ... Your other themes.
[ // [
require.resolve("@easyops-cn/docusaurus-search-local"), // require.resolve("@easyops-cn/docusaurus-search-local"),
{ // {
// ... Your options. // // ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible. // // `hashed` is recommended as long-term-cache of index file is possible.
hashed: true, // hashed: true,
language: ["en", "zh"], // language: ["en", "zh"],
highlightSearchTermsOnTargetPage: true, // highlightSearchTermsOnTargetPage: true,
blogRouteBasePath: "/", // blogRouteBasePath: "/",
explicitSearchResultPath: true, // explicitSearchResultPath: true,
// For Docs using Chinese, The `language` is recommended to set to: // // For Docs using Chinese, The `language` is recommended to set to:
// ``` // // ```
// language: ["en", "zh"], // // language: ["en", "zh"],
// ``` // // ```
}, // },
], // ],
], ],
i18n: { i18n: {
defaultLocale: 'zh-cn', defaultLocale: 'zh-cn',

22085
package-lock.json generated

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save