Skip to content

Commit 936e6a9

Browse files
authored
Merge pull request #405 from hotoo/feat/pinyin-table
feat: move pinyin-table to the top level of nav
2 parents bcf6f0b + 00f5979 commit 936e6a9

File tree

5 files changed

+208
-167
lines changed

5 files changed

+208
-167
lines changed

.dumirc.ts

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,8 @@ export default defineConfig({
3838
{ title: 'v2', link: '/api/v2/' },
3939
],
4040
},
41-
{ title: '演示文档', link: '/example/',
42-
children: [
43-
{ title: '拼音表', link: '/pinyin-table' },
44-
],
45-
},
46-
{ title: '更新历史', link: '/CHANGELOG/' },
41+
{ title: '演示文档', link: '/example/' },
42+
{ title: '拼音表', link: '/pinyin-table' },
4743
],
4844
'en-US': [
4945
{ title: 'Home', link: '/en-US/' },
@@ -54,12 +50,8 @@ export default defineConfig({
5450
{ title: 'v2', link: '/en-US/api/v2/' },
5551
],
5652
},
57-
{ title: 'Example', link: '/en-US/example/',
58-
children: [
59-
{ title: 'Pinyin Table', link: '/pinyin-table' },
60-
],
61-
},
62-
{ title: 'CHANGELOG', link: '/CHANGELOG/' },
53+
{ title: 'Example', link: '/en-US/example/' },
54+
{ title: 'Pinyin Table', link: '/pinyin-table' },
6355
],
6456
'ko-KR': [
6557
{ title: 'Home', link: '/ko-KR/' },
@@ -70,13 +62,8 @@ export default defineConfig({
7062
{ title: 'v2', link: '/ko-KR/api/v2/' },
7163
],
7264
},
73-
{
74-
title: 'Example', link: '/ko-KR/example/',
75-
children: [
76-
{ title: 'Pinyin Table', link: '/pinyin-table' },
77-
],
78-
},
79-
{ title: 'CHANGELOG', link: '/CHANGELOG/' },
65+
{ title: 'Example', link: '/ko-KR/example/' },
66+
{ title: 'Pinyin Table', link: '/pinyin-table' },
8067
],
8168
},
8269
prefersColor: { default: 'auto' },

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"nock": "^13.1.4",
7878
"npx": "^10.2.2",
7979
"prettier": "^2.6.0",
80+
"react": "^19.1.0",
8081
"request": "~2.68.0",
8182
"rollup": "2.60.0",
8283
"rollup-plugin-alias": "^2.2.0",

0 commit comments

Comments
 (0)