mirror of
https://github.com/postyizhan/NitWikit.git
synced 2025-03-01 16:46:59 +08:00
删除文档右上角语言选项 (#192)
This commit is contained in:
parent
2b2e00bc97
commit
37f7fd3172
@ -42,10 +42,10 @@ const config = {
|
||||
// Even if you don't use internalization, you can use this field to set useful
|
||||
// metadata like html lang. For example, if your site is Chinese, you may want
|
||||
// to replace "en" with "zh-Hans".
|
||||
// i18n: {
|
||||
// defaultLocale: 'zh-Hans',
|
||||
// locales: ['zh-Hans'],
|
||||
// },
|
||||
i18n: {
|
||||
defaultLocale: 'zh-Hans',
|
||||
locales: ['zh-Hans'],
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
@ -154,10 +154,11 @@ const config = {
|
||||
className: "header-github-link",
|
||||
position: "right",
|
||||
},
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
position: 'right',
|
||||
},
|
||||
// 顶部导航栏显示切换语言按钮
|
||||
// {
|
||||
// type: 'localeDropdown',
|
||||
// position: 'right',
|
||||
// },
|
||||
],
|
||||
},
|
||||
// 底部链接
|
||||
@ -219,7 +220,7 @@ const config = {
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
{
|
||||
hashed: true,
|
||||
// language: ["zh"],
|
||||
language: ["zh"],
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
explicitSearchResultPath: true,
|
||||
indexBlog: false,
|
||||
|
Loading…
Reference in New Issue
Block a user