Skip to content

Commit 2539105

Browse files
authored
chore: remove language-switch (#2459)
1 parent d306681 commit 2539105

File tree

2 files changed

+1
-115
lines changed

2 files changed

+1
-115
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,7 @@ const config: Config = {
3232
// may want to replace "en" with "zh-Hans".
3333
i18n: {
3434
defaultLocale: lang,
35-
locales: ['en', 'zh'],
36-
localeConfigs: {
37-
en: {
38-
label: "English",
39-
},
40-
zh: {
41-
label: "中文",
42-
},
43-
},
35+
locales: [lang],
4436
},
4537
headTags: [
4638
{
@@ -244,22 +236,11 @@ const config: Config = {
244236
label: "SQL Reference",
245237
position: "right",
246238
},
247-
//
248239
{
249240
to: "/release-notes/",
250241
label: "Releases",
251242
position: "right",
252243
},
253-
{
254-
type: 'localeDropdown',
255-
position: 'right',
256-
},
257-
// { to: '/blog', label: 'Blog', position: 'left' }, // or position: 'right'
258-
// {
259-
// to: "/download",
260-
// label: "Downloads",
261-
// position: "right",
262-
// },
263244
],
264245
},
265246
footer: {

src/theme/NavbarItem/NavbarNavLink.tsx

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)