Skip to content

Commit

Permalink
docs: adjust default language
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Sep 2, 2022
1 parent e348bdd commit ae3f30b
Show file tree
Hide file tree
Showing 30 changed files with 3,306 additions and 3,224 deletions.
1,227 changes: 0 additions & 1,227 deletions README.en-US.md

This file was deleted.

751 changes: 387 additions & 364 deletions README.md

Large diffs are not rendered by default.

1,248 changes: 1,248 additions & 0 deletions README.zh-CN.md

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions web/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,58 +21,58 @@ export default defineConfig({
base: `/${name}/`,
publicPath: `/${name}/`,
locales: [
['zh-CN', '中文'],
['en-US', 'English'],
['zh-CN', '中文'],
],
theme: {
'@c-primary': '#1890ff',
},
navs: {
'zh-CN': [
{ title: '指 南', path: '/guide' },
{ title: '基 础', path: '/base' },
{ title: '进 阶', path: '/advanced' },
{ title: '更新日志', path: '/changelog' },
'en-US': [
{ title: 'Guide', path: '/guide' },
{ title: 'Base', path: '/base' },
{ title: 'Advanced', path: '/advanced' },
{ title: 'Changelog', path: '/changelog' },
{ title: 'GitHub', path: 'https://github.com/actions-cool/issues-helper' },
],
'en-US': [
{ title: 'Guide', path: '/en-US/guide' },
{ title: 'Base', path: '/en-US/base' },
{ title: 'Advanced', path: '/en-US/advanced' },
{ title: 'Changelog', path: '/en-US/changelog' },
'zh-CN': [
{ title: '指 南', path: '/zh-CN/guide' },
{ title: '基 础', path: '/zh-CN/base' },
{ title: '进 阶', path: '/zh-CN/advanced' },
{ title: '更新日志', path: '/zh-CN/changelog' },
{ title: 'GitHub', path: 'https://github.com/actions-cool/issues-helper' },
],
},
menus: {
'/guide': [
{
title: '🍭 介 绍',
title: '🍭 Guide',
children: ['/guide/index', '/guide/start'],
},
{
title: '🎁 参 考',
title: '🎁 Reference',
path: '/guide/ref',
},
{
title: '🎗 记 录',
title: '🎗 Note',
path: '/guide/note',
},
{
title: '💬 FAQ',
path: '/guide/faq',
},
],
'/en-US/guide': [
'/zh-CN/guide': [
{
title: '🍭 Guide',
title: '🍭 介 绍',
children: ['/guide/index', '/guide/start'],
},
{
title: '🎁 Reference',
title: '🎁 参 考',
path: '/guide/ref',
},
{
title: '🎗 Note',
title: '🎗 记 录',
path: '/guide/note',
},
{
Expand Down
Loading

0 comments on commit ae3f30b

Please sign in to comment.