Skip to content

Commit 31afb62

Browse files
committed
Improve tutorial videos sidebar: shorten titles and move to Getting Started section
1 parent ecde067 commit 31afb62

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

docs/tutorial-videos.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@
22
"videos": [
33
{
44
"id": "Mcq3r1EPZ-4",
5-
"title": "Installing Roo Code in VS Code"
5+
"title": "Installing Roo Code"
66
},
77
{
88
"id": "eEJErgZBqLE",
9-
"title": "Configuring Profiles | Detailed Tutorial"
9+
"title": "Configuring Profiles"
1010
},
1111
{
1212
"id": "QDy3dm1xJ6Y",
13-
"title": "Setting up MCP server in Roo"
13+
"title": "Setting up MCP Servers"
1414
},
1515
{
1616
"id": "jW4_PPyRXCs",
17-
"title": "Auto Approve in Roo Code Explained | Detailed Tutorial"
17+
"title": "Auto Approve Feature"
1818
},
1919
{
2020
"id": "qgqceCuhlRA",
21-
"title": "Custom Modes in Roo Code | Official Tutorial "
21+
"title": "Custom Modes"
2222
},
2323
{
2424
"id": "Ho30nyY332E",
25-
"title": "Checkpoints in Roo Code | Official Tutorial"
25+
"title": "Checkpoints"
2626
},
2727
{
2828
"id": "r1bpod1VWhg",
29-
"title": "Codebase Indexing Setup Tutorial"
29+
"title": "Codebase Indexing"
3030
},
3131
{
3232
"id": "9k8OAXlszak",
33-
"title": "Context Condensing Tutorial"
33+
"title": "Context Condensing"
3434
},
3535
{
3636
"id": "WatooxMlW0U",
3737
"title": "Roo Marketplace"
3838
},
3939
{
4040
"id": "6h5vB9PpoPk",
41-
"title": "Roo Code Todo Lists"
41+
"title": "Todo Lists"
4242
}
4343
]
4444
}

sidebars.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ const sidebars: SidebarsConfig = {
2323
'basic-usage/context-mentions',
2424
'basic-usage/using-modes',
2525
'tips-and-tricks',
26+
{
27+
type: 'category',
28+
label: 'Tutorial Videos',
29+
items: [
30+
{
31+
type: 'doc',
32+
id: 'tutorial-videos',
33+
label: 'All Videos',
34+
},
35+
...tutorialVideos.videos.map((video) => ({
36+
type: 'link' as const,
37+
label: truncateTitle(video.title),
38+
href: `https://www.youtube.com/watch?v=${video.id}`,
39+
description: video.title.length > 40 ? video.title : undefined,
40+
})),
41+
],
42+
},
2643
],
2744
},
2845
{
@@ -165,23 +182,6 @@ const sidebars: SidebarsConfig = {
165182
'faq',
166183
],
167184
},
168-
{
169-
type: 'category',
170-
label: 'Tutorial Videos',
171-
items: [
172-
{
173-
type: 'doc',
174-
id: 'tutorial-videos',
175-
label: 'All Videos',
176-
},
177-
...tutorialVideos.videos.map((video) => ({
178-
type: 'link' as const,
179-
label: truncateTitle(video.title),
180-
href: `https://www.youtube.com/watch?v=${video.id}`,
181-
description: video.title.length > 40 ? video.title : undefined,
182-
})),
183-
],
184-
},
185185
{
186186
type: 'link',
187187
label: 'Contributing (GitHub)',

0 commit comments

Comments
 (0)