This commit is contained in:
oneao committed 2026-01-05 17:31:38 +08:00
1 parent f98c280ac4
commit d4b25b13ac
73 files changed
+13112 -1003

No files matched your search

+7 -2
View File
@@ -31,8 +31,8 @@ const config: Config = {
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
defaultLocale: 'zh-Hans',
locales: ['zh-Hans','en'],
},
presets: [
@@ -89,11 +89,16 @@ const config: Config = {
label: 'Tutorial',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
type: 'localeDropdown',
position: 'right',
},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
position: 'right',
},
],
},
prism: {