Skip to content

Commit 3bae67f

Browse files
authored
Fix sidebar categories in rule docs (#2646)
1 parent 0a92a56 commit 3bae67f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: docs/.vitepress/config.mts

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,39 +32,39 @@ export default async () => {
3232
{ title: 'Base Rules', categoryIds: ['base'] },
3333
{
3434
title: 'Priority A: Essential',
35-
categoryIds: ['vue3-essential', 'essential']
35+
categoryIds: ['vue3-essential', 'vue2-essential']
3636
},
3737
{
3838
title: 'Priority A: Essential for Vue.js 3.x',
3939
categoryIds: ['vue3-essential']
4040
},
4141
{
4242
title: 'Priority A: Essential for Vue.js 2.x',
43-
categoryIds: ['essential']
43+
categoryIds: ['vue2-essential']
4444
},
4545
{
4646
title: 'Priority B: Strongly Recommended',
47-
categoryIds: ['vue3-strongly-recommended', 'strongly-recommended']
47+
categoryIds: ['vue3-strongly-recommended', 'vue2-strongly-recommended']
4848
},
4949
{
5050
title: 'Priority B: Strongly Recommended for Vue.js 3.x',
5151
categoryIds: ['vue3-strongly-recommended']
5252
},
5353
{
5454
title: 'Priority B: Strongly Recommended for Vue.js 2.x',
55-
categoryIds: ['strongly-recommended']
55+
categoryIds: ['vue2-strongly-recommended']
5656
},
5757
{
5858
title: 'Priority C: Recommended',
59-
categoryIds: ['vue3-recommended', 'recommended']
59+
categoryIds: ['vue3-recommended', 'vue2-recommended']
6060
},
6161
{
6262
title: 'Priority C: Recommended for Vue.js 3.x',
6363
categoryIds: ['vue3-recommended']
6464
},
6565
{
6666
title: 'Priority C: Recommended for Vue.js 2.x',
67-
categoryIds: ['recommended']
67+
categoryIds: ['vue2-recommended']
6868
}
6969
]
7070

0 commit comments

Comments
 (0)