Skip to content

Commit

Permalink
[Fix][Docs] Fix config.js error (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
zixi0825 authored Sep 30, 2023
1 parent a5b8b89 commit ce54618
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
onBrokenMarkdownLinks: 'warn',
favicon: 'image/favicon.ico',
i18n: {
defaultLocale: "zh-CN",
defaultLocale: "en",
locales: ["en", "zh-CN"],
localeConfigs: {
en: {
Expand All @@ -39,8 +39,8 @@ const config = {
'zh-CN': {
label: "简体中文",
direction: 'ltr',
}
}
},
},
},
themes: [
[
Expand All @@ -53,7 +53,7 @@ const config = {
indexPages: true,
highlightSearchTermsOnTargetPage: false, // Highlight search terms on target page.
explicitSearchResultPath: true,
language: ["zh-CN", "en"]
language: ["zh", "en"]
}),
],
],
Expand Down

0 comments on commit ce54618

Please sign in to comment.