docs(i18n): add zh-Hans Tool Gateway, image gen, and Windows WSL guide

Made-with: Cursor
This commit is contained in:
haidao1919 2026-04-18 02:09:06 +08:00 committed by Teknium
parent a321874ab4
commit 74e4f5f97a
7 changed files with 444 additions and 2 deletions

View file

@ -24,7 +24,16 @@ const config: Config = {
i18n: {
defaultLocale: 'en',
locales: ['en'],
locales: ['en', 'zh-Hans'],
localeConfigs: {
en: {
label: 'English',
},
'zh-Hans': {
label: '简体中文',
htmlLang: 'zh-Hans',
},
},
},
themes: [
@ -34,7 +43,7 @@ const config: Config = {
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
hashed: true,
language: ['en'],
language: ['en', 'zh'],
indexBlog: false,
docsRouteBasePath: '/',
// Disabled: appends ?_highlight=... to URLs (before the #anchor),
@ -104,6 +113,10 @@ const config: Config = {
label: 'Skills',
position: 'left',
},
{
type: 'localeDropdown',
position: 'right',
},
{
href: 'https://hermes-agent.nousresearch.com',
label: 'Home',